Package com.atlassian.jira.cluster.service
package com.atlassian.jira.cluster.service
-
ClassDescriptionSchedule this class as a job which performs
NonAliveNodesScannerService
andOfflineNodesScannerService
Job will be run in intervals defined byClusterStateCheckerJob#RUN_INTERVAL_PROPERTY_KEY
or with default valueClusterStateCheckerJob.DEFAULT_RUN_INTERVAL
Check if another node moved this node toNode.NodeState.OFFLINE
state.This is helper class which handle most of the timing calculations for the cluster nodesThis job is responsible for scanning all nodes in the cluster and moving ACTIVENode.NodeState.ACTIVE
and NOT ALIVEClusterManager.isNodeAlive(String)
nodes to OFFLINE stateNode.NodeState.OFFLINE
Node will be moved if node is inNode.NodeState.ACTIVE
and NOT ALIVE state longer than provided retentionPeriod.This job is responsible for removing OFFLINENode.NodeState.OFFLINE
nodes from the cluster.