Class ClusterStateCheckerJob
java.lang.Object
com.atlassian.jira.cluster.service.ClusterStateCheckerJob
- All Implemented Interfaces:
com.atlassian.scheduler.JobRunner
Schedule this class as a job which performs
NonAliveNodesScannerService
and OfflineNodesScannerService
Job will be run in intervals defined by ClusterStateCheckerJob#RUN_INTERVAL_PROPERTY_KEY
or with default value DEFAULT_RUN_INTERVAL
- Since:
- v8.10
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClusterStateCheckerJob
(NonAliveNodesScannerService nonAliveNodesScannerService, ApplicationProperties applicationProperties, com.atlassian.scheduler.SchedulerService schedulerService, OfflineNodesScannerService offlineNodesScannerService, JiraProperties jiraProperties) -
Method Summary
-
Field Details
-
CLUSTER_STATE_CHECKER_JOB_DISABLED_PROPERTY_KEY
- See Also:
-
DEFAULT_RUN_INTERVAL
-
-
Constructor Details
-
ClusterStateCheckerJob
public ClusterStateCheckerJob(NonAliveNodesScannerService nonAliveNodesScannerService, ApplicationProperties applicationProperties, com.atlassian.scheduler.SchedulerService schedulerService, OfflineNodesScannerService offlineNodesScannerService, JiraProperties jiraProperties)
-
-
Method Details
-
runJob
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request) - Specified by:
runJob
in interfacecom.atlassian.scheduler.JobRunner
-
start
public void start() -
stop
public void stop()
-