java.lang.Object | |
↳ | com.atlassian.jira.cluster.DefaultClusterManager |
Manages the cluster - addition of nodes, removal, etc
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Forces an index check to see if it is current (or can be rebuilt from current) - if the index is too out of date
request an index replica, only do this on passive nodes for now
| |||||||||||
Returns a snapshot of the live nodes.
| |||||||||||
Returns all the nodes in the cluster.
| |||||||||||
Provides the node ID for this particular cluster node.
| |||||||||||
Returns
true if this node is active. | |||||||||||
Returns whether or not JIRA is licensed for clustered configurations.
| |||||||||||
If there is a cluster.properties that appears to be valid
| |||||||||||
Merges the information from the heartbeat table and the clusternode table
to give accurate information of which nodes are alive.
| |||||||||||
We send a message to the node we wish a copy from.
| |||||||||||
This method will be called after the plugin system is fully initialised and all components added to the
dependency injection framework.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||
![]()
|
Forces an index check to see if it is current (or can be rebuilt from current) - if the index is too out of date request an index replica, only do this on passive nodes for now
Returns a snapshot of the live nodes. This collection is refreshed in every heartbeat of the server. Or you can force it calling refreshLiveNodes()
Returns all the nodes in the cluster. If not clustered this will return an empty set.
Node
s in a cluster
Provides the node ID for this particular cluster node.
Returns true
if this node is active.
true
if this node is active.
Returns whether or not JIRA is licensed for clustered configurations.
If there is a cluster.properties that appears to be valid
Merges the information from the heartbeat table and the clusternode table to give accurate information of which nodes are alive.
We send a message to the node we wish a copy from.
node | Node to send the message to get an Index Copy from. |
---|
This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.