public interface ClusterNodes
| Modifier and Type | Method and Description |
|---|---|
Set<Node> |
all()
Returns all the known nodes in a JIRA cluster.
|
Node |
current()
Returns the current cluster node in JIRA.
|
String |
getHostname()
Returns the IP/hostname configured to be used for this JIRA Cluster.
|
Node |
node(String nodeId) |
void |
reset()
Resets the cached reference to the current cluster node.
|
Node current()
Node.isClustered() to see if it's part of a
cluster.void reset()
Set<Node> all()
Nodes in a cluster.@Nullable Node node(String nodeId)
Node with given nodeID; note that this method may be eventually consistentString getHostname()
NetworkUtils.getLocalHostName()Copyright © 2002-2019 Atlassian. All Rights Reserved.