public interface ClusterMetadataService extends ListenerService<ClusterMetadataEvent,ClusterMetadataEventListener>
cluster metadata
.Modifier and Type | Method and Description |
---|---|
ClusterMetadata |
getClusterMetadata()
Returns the current cluster metadata.
|
ControllerNode |
getLocalNode()
Returns the
controller node representing this instance. |
addListener, removeListener
ClusterMetadata getClusterMetadata()
ControllerNode getLocalNode()
controller node
representing this instance.