Class DeviceMastershipManager
java.lang.Object
org.opendaylight.openflowplugin.applications.frsync.impl.clustering.DeviceMastershipManager
Manager for clustering service registrations of
DeviceMastership
.-
Constructor Summary
ConstructorDescriptionDeviceMastershipManager
(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider clusterSingletonService, ReconciliationRegistry reconciliationRegistry) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isDeviceMastered
(NodeId nodeId) void
onDeviceConnected
(NodeId nodeId) void
onDeviceDisconnected
(NodeId nodeId)
-
Constructor Details
-
DeviceMastershipManager
public DeviceMastershipManager(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider clusterSingletonService, ReconciliationRegistry reconciliationRegistry)
-
-
Method Details
-
onDeviceConnected
-
onDeviceDisconnected
-
isDeviceMastered
-