BUG-1075: ingress back pressure
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / queue / TicketFinisher.java
1 /**
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.openflowplugin.openflow.md.queue;
9
10 import java.util.List;
11
12 /**
13  * @param <OUT> result type
14  *
15  */
16 public interface TicketFinisher<OUT> extends Runnable {
17
18     /**
19      * initiate shutdown of this worker
20      */
21     void finish();
22     
23     /**
24      * notify popListeners
25      * @param processedMessages
26      */
27     void firePopNotification(List<OUT> processedMessages);
28 }