public interface ClusterManager extends ClusterInfo
Modifier and Type | Field and Description |
---|---|
static String |
ALL_NODES |
static String |
ANY_NODE |
Modifier and Type | Method and Description |
---|---|
void |
checkIndex() |
Collection<Node> |
findLiveNodes()
Returns a snapshot of the live nodes.
|
Set<Node> |
getAllNodes()
Returns all the nodes in the cluster.
|
boolean |
isActive() |
boolean |
isClusterLicensed()
Returns whether or not JIRA is licensed for clustered configurations.
|
void |
refreshLiveNodes()
Merges the information from the heartbeat table and the clusternode table
to give accurate information of which nodes are alive.
|
void |
requestCurrentIndexFromNode(String node)
We send a message to the node we wish a copy from.
|
getNodeId, isClustered
static final String ALL_NODES
static final String ANY_NODE
void checkIndex()
boolean isActive()
Set<Node> getAllNodes()
Node
s in a clusterboolean isClusterLicensed()
void requestCurrentIndexFromNode(String node)
node
- Node to send the message to get an Index Copy from.Collection<Node> findLiveNodes()
void refreshLiveNodes()
Copyright © 2002-2016 Atlassian. All Rights Reserved.