Class DeviceMastershipManager
- java.lang.Object
-
- org.opendaylight.openflowplugin.applications.frsync.impl.clustering.DeviceMastershipManager
-
public class DeviceMastershipManager extends Object
Manager for clustering service registrations ofDeviceMastership
.
-
-
Constructor Summary
Constructors Constructor Description DeviceMastershipManager(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider clusterSingletonService, ReconciliationRegistry reconciliationRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDeviceMastered(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
void
onDeviceConnected(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
void
onDeviceDisconnected(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
-
-
-
Constructor Detail
-
DeviceMastershipManager
public DeviceMastershipManager(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider clusterSingletonService, ReconciliationRegistry reconciliationRegistry)
-
-
Method Detail
-
onDeviceConnected
public void onDeviceConnected(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
-
onDeviceDisconnected
public void onDeviceDisconnected(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
-
isDeviceMastered
public boolean isDeviceMastered(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
-
-