public class ClusterStateCheckerJob extends Object implements com.atlassian.scheduler.JobRunner
NonAliveNodesScannerService
and OfflineNodesScannerService
Job will be run in intervals defined by ClusterStateCheckerJob#RUN_INTERVAL_PROPERTY_KEY
or with default value DEFAULT_RUN_INTERVAL
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_STATE_CHECKER_JOB_DISABLED_PROPERTY_KEY |
static java.time.Duration |
DEFAULT_RUN_INTERVAL |
Constructor and Description |
---|
ClusterStateCheckerJob(NonAliveNodesScannerService nonAliveNodesScannerService,
ApplicationProperties applicationProperties,
com.atlassian.scheduler.SchedulerService schedulerService,
OfflineNodesScannerService offlineNodesScannerService,
JiraProperties jiraProperties) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest request) |
void |
start() |
void |
stop() |
public static final String CLUSTER_STATE_CHECKER_JOB_DISABLED_PROPERTY_KEY
public static final java.time.Duration DEFAULT_RUN_INTERVAL
public ClusterStateCheckerJob(NonAliveNodesScannerService nonAliveNodesScannerService, ApplicationProperties applicationProperties, com.atlassian.scheduler.SchedulerService schedulerService, OfflineNodesScannerService offlineNodesScannerService, JiraProperties jiraProperties)
@Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
runJob
in interface com.atlassian.scheduler.JobRunner
public void start()
public void stop()
Copyright © 2002-2022 Atlassian. All Rights Reserved.