Package org.onosproject.cluster
Interface ClusterMetadataService
-
- All Superinterfaces:
ListenerService<ClusterMetadataEvent,ClusterMetadataEventListener>
public interface ClusterMetadataService extends ListenerService<ClusterMetadataEvent,ClusterMetadataEventListener>
Service for accessingcluster metadata
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterMetadata
getClusterMetadata()
Returns the current cluster metadata.ControllerNode
getLocalNode()
Returns thecontroller node
representing this instance.-
Methods inherited from interface org.onosproject.event.ListenerService
addListener, removeListener
-
-
-
-
Method Detail
-
getClusterMetadata
ClusterMetadata getClusterMetadata()
Returns the current cluster metadata.- Returns:
- cluster metadata
-
getLocalNode
ControllerNode getLocalNode()
Returns thecontroller node
representing this instance.- Returns:
- local controller node
-
-