Refactoring of 'extractIpv4Mask' method
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / statistics / StatisticsContext.java
index 6620fe4d055b8a62a2c6e6e5dedec878836e1de1..29f775f12894a396a742a23148875b2d70816326 100644 (file)
@@ -9,17 +9,18 @@
 package org.opendaylight.openflowplugin.api.openflow.statistics;
 
 import com.google.common.util.concurrent.ListenableFuture;
-import javax.annotation.CheckForNull;
+import io.netty.util.Timeout;
 import org.opendaylight.openflowplugin.api.openflow.device.RequestContextStack;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MultipartType;
 
 /**
  * Created by Martin Bobak <mbobak@cisco.com> on 27.2.2015.
  */
 public interface StatisticsContext extends RequestContextStack, AutoCloseable {
 
-    public ListenableFuture<Boolean> gatherDynamicData();
-
-    ListenableFuture<Boolean> gatherDynamicData(@CheckForNull MultipartType multipartType);
+    ListenableFuture<Boolean> gatherDynamicData();
 
+    /**
+     * @param pollTimeout handle to nearest scheduled statistics poll
+     */
+    void setPollTimeout(Timeout pollTimeout);
 }