Class ClusterStateCheckerJob

java.lang.Object
com.atlassian.jira.cluster.service.ClusterStateCheckerJob
All Implemented Interfaces:
com.atlassian.scheduler.JobRunner

public class ClusterStateCheckerJob extends Object implements 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 Details

    • CLUSTER_STATE_CHECKER_JOB_DISABLED_PROPERTY_KEY

      public static final String CLUSTER_STATE_CHECKER_JOB_DISABLED_PROPERTY_KEY
      See Also:
    • DEFAULT_RUN_INTERVAL

      public static final Duration DEFAULT_RUN_INTERVAL
  • Constructor Details

  • Method Details

    • runJob

      @Nullable public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest request)
      Specified by:
      runJob in interface com.atlassian.scheduler.JobRunner
    • start

      public void start()
    • stop

      public void stop()