public interface ClusterNode
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getAddress() |
Version |
getBuildVersion() |
String |
getId()
Retrieves a cluster-wide unique identifier for this node.
|
String |
getName()
A long living cluster name that is defined by setting the system property
cluster.node.name |
String |
getVmId()
Retrieves a unique identifier for this node that remains stable while the node is running.
|
boolean |
isFullyStarted() |
boolean |
isLocal() |
@Nonnull InetSocketAddress getAddress()
@Nonnull Version getBuildVersion()
@Nonnull String getId()
Warning: Plugins should make no assumptions about this ID. That includes:
@Nonnull String getVmId()
The value is guaranteed to be unique within the cluster. Unlike the ordinary identifier, if the
node leaves and joins the cluster, this value remains the same.
boolean isFullyStarted()
true if this node has fully started up; false otherwiseboolean isLocal()
true if this is the local node; otherwise,
false for remote nodesCopyright © 2021 Atlassian. All rights reserved.