public interface ClusterService extends ListenerService<ClusterEvent,ClusterEventListener>
| Modifier and Type | Method and Description | 
|---|---|
Set<Node> | 
getConsensusNodes()
Returns the set of consensus nodes. 
 | 
default org.joda.time.DateTime | 
getLastUpdated(NodeId nodeId)
Deprecated. 
 
in 1.12.0 
 | 
default Instant | 
getLastUpdatedInstant(NodeId nodeId)
Returns the system time when the availability state was last updated. 
 | 
ControllerNode | 
getLocalNode()
Returns the local controller node. 
 | 
ControllerNode | 
getNode(NodeId nodeId)
Returns the specified controller node. 
 | 
Set<ControllerNode> | 
getNodes()
Returns the set of current cluster members. 
 | 
ControllerNode.State | 
getState(NodeId nodeId)
Returns the availability state of the specified controller node. 
 | 
Version | 
getVersion(NodeId nodeId)
Returns the version of the given controller node. 
 | 
default String | 
localStatus(NodeId nodeId)
Returns a human readable form of the system time when the availability state was last updated. 
 | 
addListener, removeListenerControllerNode getLocalNode()
Set<ControllerNode> getNodes()
Set<Node> getConsensusNodes()
ControllerNode getNode(NodeId nodeId)
nodeId - controller node identifierControllerNode.State getState(NodeId nodeId)
nodeId - controller node identifierVersion getVersion(NodeId nodeId)
nodeId - controller node identifierdefault Instant getLastUpdatedInstant(NodeId nodeId)
nodeId - controller node identifierdefault String localStatus(NodeId nodeId)
nodeId - controller node identifier@Deprecated default org.joda.time.DateTime getLastUpdated(NodeId nodeId)
nodeId - controller node identifier