Interface ScheduledJobNodeManager

All Known Implementing Classes:
DefaultScheduledJobManager, MockScheduledJobManager

public interface ScheduledJobNodeManager
Manages ScheduledJobs for the local cluster node, rather than the whole cluster.
Since:
6.14
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    disableJob(com.atlassian.scheduler.config.JobId jobId)
    Disable job on this node only.
    void
    enableJob(com.atlassian.scheduler.config.JobId jobId)
    Enable job on this node only.
    updateCronSchedule(com.atlassian.scheduler.config.JobId jobId, String newCronSchedule)
     
    updateSimpleSchedule(com.atlassian.scheduler.config.JobId jobId, long repeatInterval)
     
  • Method Details

    • updateCronSchedule

      Date updateCronSchedule(com.atlassian.scheduler.config.JobId jobId, String newCronSchedule)
    • updateSimpleSchedule

      Date updateSimpleSchedule(com.atlassian.scheduler.config.JobId jobId, long repeatInterval)
    • disableJob

      void disableJob(com.atlassian.scheduler.config.JobId jobId)
      Disable job on this node only.
      Parameters:
      jobId - the job ID.
    • enableJob

      void enableJob(com.atlassian.scheduler.config.JobId jobId)
      Enable job on this node only.
      Parameters:
      jobId - the job ID.