package org.opendaylight.openflowplugin.api.openflow.statistics;
-import org.opendaylight.openflowplugin.api.openflow.device.DeviceContext;
-import org.opendaylight.openflowplugin.api.openflow.device.RequestContext;
+import com.google.common.util.concurrent.ListenableFuture;
+import javax.annotation.CheckForNull;
+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.
+ * Created by Martin Bobak <mbobak@cisco.com> on 27.2.2015.
*/
-public interface StatisticsContext {
+public interface StatisticsContext extends RequestContextStack, AutoCloseable {
- void setDeviceContext(DeviceContext deviceContext);
+ public ListenableFuture<Boolean> gatherDynamicData();
+
+ ListenableFuture<Boolean> gatherDynamicData(@CheckForNull MultipartType multipartType);
- void setRequestContext(RequestContext requestContext);
}