public class NodeAutoShutdownIfOfflineService extends Object
Node.NodeState#OFFLINE
state.
Accordingly to this, node needs to shut down itself as soon as possible to avoid data corruption in the cluster.Modifier and Type | Field and Description |
---|---|
ClusterNodes |
clusterNodes |
static String |
NODE_SELF_SHUTDOWN_IF_OFFLINE_DISABLED_PROPERTY_KEY |
Constructor and Description |
---|
NodeAutoShutdownIfOfflineService(ClusterNodes clusterNodes,
OfBizClusterNodeStore clusterNodeStore,
JohnsonProvider johnsonProvider,
JiraShutdown jiraShutdown,
JiraProperties jiraProperties) |
Modifier and Type | Method and Description |
---|---|
void |
checkCurrentNodeState() |
public static final String NODE_SELF_SHUTDOWN_IF_OFFLINE_DISABLED_PROPERTY_KEY
public final ClusterNodes clusterNodes
public NodeAutoShutdownIfOfflineService(ClusterNodes clusterNodes, OfBizClusterNodeStore clusterNodeStore, JohnsonProvider johnsonProvider, JiraShutdown jiraShutdown, JiraProperties jiraProperties)
Copyright © 2002-2022 Atlassian. All Rights Reserved.