Interface ScheduledJobNodeManager

  • All Known Implementing Classes:
    DefaultScheduledJobManager

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

      • 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.