Merge "Bug 6110: Fixed bugs in statistics manager due to race condition." into stable...
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceManager.java
index 58bb6fc0210cce91549c4d3e4d78a8df8a499de7..d55908b211b78f750c94a31e1d91179cde40a882 100644 (file)
@@ -9,6 +9,8 @@
 package org.opendaylight.openflowplugin.api.openflow.device;
 
 import com.google.common.util.concurrent.CheckedFuture;
+import org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipListener;
+import org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService;
 import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
 import org.opendaylight.openflowplugin.api.openflow.OFPManager;
 import org.opendaylight.openflowplugin.api.openflow.device.handlers.DeviceConnectedHandler;
@@ -24,16 +26,17 @@ public interface DeviceManager extends
         OFPManager,
         DeviceConnectedHandler,
         DeviceDisconnectedHandler,
-        TranslatorLibrarian {
+        TranslatorLibrarian,
+        EntityOwnershipListener {
 
     /**
      * invoked after all services injected
      */
     void initialize();
 
-    void setIsNotificationFlowRemovedOff(boolean value);
+    void setFlowRemovedNotificationOn(boolean value);
 
-    boolean getIsNotificationFlowRemovedOff();
+    boolean isFlowRemovedNotificationOn();
 
     void setSkipTableFeatures(boolean skipTableFeatures);