public interface ClusterNode
Modifier and Type | Method and Description |
---|---|
Optional<ClusterNodeDetails> |
getDetails() |
Instant |
getLastHeartbeat() |
String |
getNodeId()
Retrieves a cluster-wide unique identifier for this node.
|
String |
getNodeName()
A long living cluster name that is defined by setting the system property
cluster.node.name |
boolean |
isLocal() |
String getNodeId()
Warning: Plugins should make no assumptions about this ID. That includes:
String getNodeName()
cluster.node.name
@Internal Instant getLastHeartbeat()
boolean isLocal()
@ExperimentalApi Optional<ClusterNodeDetails> getDetails()
Copyright © 2020 Atlassian. All rights reserved.