public interface

ClusterManager

com.atlassian.jira.cluster.ClusterManager
Known Indirect Subclasses

Class Overview

Manages the cluster - addition of nodes, removal, etc

Summary

Constants
String ALL_NODES
String ANY_NODE
Public Methods
void checkIndex()
Set<Node> getAllNodes()
Returns all the nodes in the cluster.
String getNodeId()
boolean isActive()
boolean isClusterLicensed()
Returns whether or not JIRA is licensed for clustered configurations.
boolean isClustered()
void requestCurrentIndexFromNode(String node)

Constants

public static final String ALL_NODES

Constant Value: "ALL"

public static final String ANY_NODE

Constant Value: "ANY"

Public Methods

public void checkIndex ()

public 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

public String getNodeId ()

public boolean isActive ()

public boolean isClusterLicensed ()

Returns whether or not JIRA is licensed for clustered configurations.

Returns
  • whether or not JIRA is licensed for clustered configurations.

public boolean isClustered ()

public void requestCurrentIndexFromNode (String node)