public interface ClusterService
Modifier and Type | Method and Description |
---|---|
Optional<ClusterNode> |
getClusterNode()
Retrieves details for this node
|
ClusterInformation |
getInformation() |
String |
getNodeId()
Retrieves a cluster-wide unique identifier for this node.
|
boolean |
isAvailable() |
boolean isAvailable()
true
if clustering is available, otherwise false
@Nonnull String getNodeId()
The value is guaranteed to be unique within the cluster. If the cluster is restarted, every node's ID will still be unique but will likely not be the same as the previous value.
ClusterNode.getNodeId()
@ExperimentalApi Optional<ClusterNode> getClusterNode()
@Nonnull ClusterInformation getInformation()
nodes
Copyright © 2021 Atlassian. All rights reserved.