Interface ClusterInfo

All Known Subinterfaces:
ClusterManager
All Known Implementing Classes:
DefaultClusterManager

@PublicApi public interface ClusterInfo
Provides basic information about whether or not JIRA is clustered, the identification of the current node, and so on.
Since:
v6.4.5
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides the node ID for this particular cluster node.
    boolean
    Returns whether or not this is JIRA instance is configured as a node in a JIRA Data Center cluster.
  • Method Details

    • getNodeId

      @Nullable String getNodeId()
      Provides the node ID for this particular cluster node.
      Returns:
      the current node's unique identifier, or null if this is not a clustered environment (isClustered() will return false).
    • isClustered

      boolean isClustered()
      Returns whether or not this is JIRA instance is configured as a node in a JIRA Data Center cluster.
      Returns:
      true if this is a clustered JIRA instance; false if this JIRA instance is not part of a JIRA Data Center cluster.