com.atlassian.jira.cluster
Interface ClusterManager
- All Known Implementing Classes:
- DefaultClusterManager
public interface ClusterManager
Manages the cluster - addition of nodes, removal, etc
- Since:
- v6.1
ALL_NODES
static final String ALL_NODES
- See Also:
- Constant Field Values
ANY_NODE
static final String ANY_NODE
- See Also:
- Constant Field Values
checkIndex
void checkIndex()
getNodeId
String getNodeId()
isActive
boolean isActive()
isClustered
boolean isClustered()
getAllNodes
Set<Node> getAllNodes()
- Returns all the nodes in the cluster.
If not clustered this will return an empty set.
- Returns:
- a collection of
Node
s in a cluster
isClusteredForScale
boolean isClusteredForScale()
- Indicates whether JIRA is clustered for scale as opposed to for warm
failover or not at all.
- Returns:
- see above
- Since:
- 6.2
requestCurrentIndexFromNode
void requestCurrentIndexFromNode(String node)
Copyright © 2002-2014 Atlassian. All Rights Reserved.