Interface ScheduledJobNodeManager
-
- All Known Implementing Classes:
DefaultScheduledJobManager
public interface ScheduledJobNodeManagerManages ScheduledJobs for the local cluster node, rather than the whole cluster.- Since:
- 6.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisableJob(com.atlassian.scheduler.config.JobId jobId)Disable job on this node only.voidenableJob(com.atlassian.scheduler.config.JobId jobId)Enable job on this node only.DateupdateCronSchedule(com.atlassian.scheduler.config.JobId jobId, String newCronSchedule)DateupdateSimpleSchedule(com.atlassian.scheduler.config.JobId jobId, long repeatInterval)
-
-
-
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.
-
-