public interface ClusterService
Modifier and Type | Method and Description |
---|---|
ClusterInformation |
getInformation() |
String |
getNodeId()
Convenience method for obtaining the ID for the local node.
|
boolean |
isAvailable() |
boolean |
isClustered() |
@Nonnull ClusterInformation getInformation()
nodes
@Nonnull String getNodeId()
getInformation().getLocalNode().getId()
boolean isAvailable()
true
if clustering is available; otherwise, false
boolean isClustered()
true
if clustering is available
and at least two nodes have
joined the clusterCopyright © 2019 Atlassian. All rights reserved.