BUG-1075: ingress back pressure
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / queue / HarvesterHandle.java
similarity index 57%
rename from openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/queue/VersionExtractor.java
rename to openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/queue/HarvesterHandle.java
index 0c9f830d843d47bf6d7e1d5aa9c760057c7cf99d..d1cefa70ff911497445630bbca222ed17083f9b5 100644 (file)
@@ -1,6 +1,6 @@
 /**
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
+ * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
+ * 
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
@@ -8,15 +8,13 @@
 package org.opendaylight.openflowplugin.openflow.md.queue;
 
 /**
- * @author mirehak
- * @param <T> message type
- *
+ * message harvester simple control
  */
-public interface VersionExtractor<T> {
+public interface HarvesterHandle {
 
     /**
-     * @param message
-     * @return version of message
+     * wakeup harvester in case it is in phase of starving sleep
      */
-    Short extractVersion(T message);
+    void ping();
+
 }