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

Field Summary
static String ALL_NODES
           
static String ANY_NODE
           
 
Method Summary
 void checkIndex()
           
 Set<Node> getAllNodes()
          Returns all the nodes in the cluster.
 String getNodeId()
           
 boolean isActive()
           
 boolean isClustered()
           
 boolean isClusteredForScale()
          Indicates whether JIRA is clustered for scale as opposed to for warm failover or not at all.
 void requestCurrentIndexFromNode(String node)
           
 

Field Detail

ALL_NODES

static final String ALL_NODES
See Also:
Constant Field Values

ANY_NODE

static final String ANY_NODE
See Also:
Constant Field Values
Method Detail

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 Nodes 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.