Class NodeAutoShutdownIfOfflineService
java.lang.Object
com.atlassian.jira.cluster.service.NodeAutoShutdownIfOfflineService
Check if another node moved this node to
Node.NodeState.OFFLINE state.
Accordingly to this, node needs to shut down itself as soon as possible to avoid data corruption in the cluster.- Since:
- v8.10
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNodeAutoShutdownIfOfflineService(ClusterNodes clusterNodes, OfBizClusterNodeStore clusterNodeStore, JohnsonProvider johnsonProvider, JiraShutdown jiraShutdown, JiraProperties jiraProperties) -
Method Summary
-
Field Details
-
NODE_SELF_SHUTDOWN_IF_OFFLINE_DISABLED_PROPERTY_KEY
- See Also:
-
clusterNodes
-
-
Constructor Details
-
NodeAutoShutdownIfOfflineService
public NodeAutoShutdownIfOfflineService(ClusterNodes clusterNodes, OfBizClusterNodeStore clusterNodeStore, JohnsonProvider johnsonProvider, JiraShutdown jiraShutdown, JiraProperties jiraProperties)
-
-
Method Details
-
checkCurrentNodeState
public void checkCurrentNodeState()
-