@Service public class DistributedClusterStore extends AbstractHazelcastStore<org.onosproject.cluster.ClusterEvent,org.onosproject.cluster.ClusterStoreDelegate> implements org.onosproject.cluster.ClusterStore
AbstractHazelcastStore.RemoteCacheEventHandler<K,V>, AbstractHazelcastStore.RemoteEventHandler<K,V>log, serializer, storeService, theInstance| Constructor and Description |
|---|
DistributedClusterStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
org.onosproject.cluster.ControllerNode |
addNode(org.onosproject.cluster.NodeId nodeId,
org.onlab.packet.IpAddress ip,
int tcpPort) |
void |
deactivate() |
org.onosproject.cluster.ControllerNode |
getLocalNode() |
org.onosproject.cluster.ControllerNode |
getNode(org.onosproject.cluster.NodeId nodeId) |
Set<org.onosproject.cluster.ControllerNode> |
getNodes() |
org.onosproject.cluster.ControllerNode.State |
getState(org.onosproject.cluster.NodeId nodeId) |
void |
removeNode(org.onosproject.cluster.NodeId nodeId) |
deserialize, serializehasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Activate public void activate()
activate in class AbstractHazelcastStore<org.onosproject.cluster.ClusterEvent,org.onosproject.cluster.ClusterStoreDelegate>@Deactivate public void deactivate()
public org.onosproject.cluster.ControllerNode getLocalNode()
getLocalNode in interface org.onosproject.cluster.ClusterStorepublic Set<org.onosproject.cluster.ControllerNode> getNodes()
getNodes in interface org.onosproject.cluster.ClusterStorepublic org.onosproject.cluster.ControllerNode getNode(org.onosproject.cluster.NodeId nodeId)
getNode in interface org.onosproject.cluster.ClusterStorepublic org.onosproject.cluster.ControllerNode.State getState(org.onosproject.cluster.NodeId nodeId)
getState in interface org.onosproject.cluster.ClusterStorepublic org.onosproject.cluster.ControllerNode addNode(org.onosproject.cluster.NodeId nodeId,
org.onlab.packet.IpAddress ip,
int tcpPort)
addNode in interface org.onosproject.cluster.ClusterStorepublic void removeNode(org.onosproject.cluster.NodeId nodeId)
removeNode in interface org.onosproject.cluster.ClusterStoreCopyright © 2014. All rights reserved.