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 ClusterMetadatagetClusterMetadata()Returns the current cluster metadata.ControllerNodegetLocalNode()Returns thecontroller noderepresenting 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 noderepresenting this instance.- Returns:
- local controller node
-
-