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 Summary
All Methods Instance Methods Abstract Methods 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.Date
updateCronSchedule(com.atlassian.scheduler.config.JobId jobId, String newCronSchedule)
Date
updateSimpleSchedule(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.
-
-