com.atlassian.jira.cluster.NodeStateService |
![]()
|
@Internal
or @PublicApi
.
A service relating to the state of nodes within a JIRA cluster.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Activate the current node, provided the user has the necessary permissions.
| |||||||||||
Deactivate the node.
| |||||||||||
Indicates whether the current node is active within the cluster.
|
Activate the current node, provided the user has the necessary permissions.
This method will block until the node becomes active.
user | the user performing the activation (required) |
---|
Deactivate the node.
This method will block until the node becomes inactive (passive).
user | the user performing the deactivation (required) |
---|
Indicates whether the current node is active within the cluster.