| com.atlassian.jira.cluster.NodeStateManager |
Known Indirect Subclasses
| |||||||||||||
Manage the state of nodes in the HA Cluster.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Activate the node.
| |||||||||||
Deactivate the node.
| |||||||||||
Returns all the known nodes JIRA node.
| |||||||||||
Returns the current JIRA node.
| |||||||||||
Returns the current JIRA node, first refreshing its state from the database.
| |||||||||||
Activate the node. This method will block until the node becomes active.
| ClusterStateException | when we can't become active as requested |
|---|
Deactivate the node. This method will block until the node becomes inactive (passive).
| NotClusteredException | if the instance is not clustered |
|---|
Returns all the known nodes JIRA node. If not clustered this will return an empty set.
Nodes in a cluster
Returns the current JIRA node.
isClustered()
to see if it's part of a cluster
Returns the current JIRA node, first refreshing its state from the database.
isClustered()
to see if it's part of a cluster

