java.lang.Object | |
↳ | com.atlassian.jira.cluster.DefaultClusterNodes |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns all the known nodes in a JIRA cluster.
| |||||||||||
Returns the current cluster node in JIRA.
| |||||||||||
Returns the IP/hostname configured to be used for this JIRA Cluster.
| |||||||||||
Resets the cached reference to the current cluster node.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
We are going to evaluate if the user set a hostname in the .properties file
if that is the case then we need to use that one all over the cluster
| |||||||||||
We validate if the state of the node has changed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns all the known nodes in a JIRA cluster. If not clustered this will return an empty set.
Node
s in a cluster.
Returns the current cluster node in JIRA.
isClustered()
to see if it's part of a
cluster.
Returns the IP/hostname configured to be used for this JIRA Cluster. If none is configured, localhost is returned.
Resets the cached reference to the current cluster node.
We are going to evaluate if the user set a hostname in the .properties file if that is the case then we need to use that one all over the cluster
We validate if the state of the node has changed.
1) if the node is in offline state in the db, and we are initializing it. 2) if the node has a different IP address. 3) if the port of multicasting has changed
node | the node |
---|