Package com.atlassian.jira.cluster.service
package com.atlassian.jira.cluster.service
-
ClassDescriptionSchedule this class as a job which performs
NonAliveNodesScannerServiceandOfflineNodesScannerServiceJob will be run in intervals defined byor with default valueinvalid reference
ClusterStateCheckerJob#RUN_INTERVAL_PROPERTY_KEYClusterStateCheckerJob.DEFAULT_RUN_INTERVALCheck if another node moved this node toNode.NodeState.OFFLINEstate.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.ACTIVEand NOT ALIVEClusterManager.isNodeAlive(String)nodes to OFFLINE stateNode.NodeState.OFFLINENode will be moved if node is inNode.NodeState.ACTIVEand NOT ALIVE state longer than provided retentionPeriod.This job is responsible for removing OFFLINENode.NodeState.OFFLINEnodes from the cluster.