import org.opendaylight.openflowplugin.api.openflow.OFPManager;
import org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo;
-import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceInitializationPhaseHandler;
-import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceLifecycleSupervisor;
-import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceTerminationPhaseHandler;
/**
* Manager to start or stop scheduling statistics
*/
-public interface StatisticsManager extends DeviceLifecycleSupervisor, DeviceInitializationPhaseHandler,
- DeviceTerminationPhaseHandler, AutoCloseable, OFPManager {
+public interface StatisticsManager extends OFPManager {
- void startScheduling(DeviceInfo deviceInfo);
- void stopScheduling(DeviceInfo deviceInfo);
+ /**
+ * Start scheduling statistic gathering for given device info
+ * @param deviceInfo for this device should be running statistics gathering
+ */
+ void startScheduling(final DeviceInfo deviceInfo);
+
+ /**
+ * Stop scheduling statistic gathering for given device info
+ * @param deviceInfo for this device should be stopped statistics gathering
+ */
+ void stopScheduling(final DeviceInfo deviceInfo);
@Override
void close();
+
+ void setIsStatisticsPollingOn(boolean isStatisticsPollingOn);
+
}