Class NodeAutoShutdownIfOfflineService

java.lang.Object
com.atlassian.jira.cluster.service.NodeAutoShutdownIfOfflineService

public class NodeAutoShutdownIfOfflineService extends Object
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 Details

    • NODE_SELF_SHUTDOWN_IF_OFFLINE_DISABLED_PROPERTY_KEY

      public static final String NODE_SELF_SHUTDOWN_IF_OFFLINE_DISABLED_PROPERTY_KEY
      See Also:
    • clusterNodes

      public final ClusterNodes clusterNodes
  • Constructor Details

  • Method Details

    • checkCurrentNodeState

      public void checkCurrentNodeState()