public interface SchedulerListener
SchedulerScheduler, 
JobListener, 
TriggerListener| Modifier and Type | Method and Description | 
|---|---|
| void | jobAdded(JobDetail jobDetail) | 
| void | jobDeleted(JobKey jobKey) | 
| void | jobPaused(JobKey jobKey) | 
| void | jobResumed(JobKey jobKey) | 
| void | jobScheduled(Trigger trigger) | 
| void | jobsPaused(String jobGroup) | 
| void | jobsResumed(String jobGroup) | 
| void | jobUnscheduled(TriggerKey triggerKey) | 
| void | schedulerError(String msg,
              SchedulerException cause)
 Called by the  when a serious error has
 occurred within the scheduler - such as repeated failures in theJobStore,
 or the inability to instantiate aJobinstance when itsTriggerhas fired. | 
| void | schedulerInStandbyMode()
 Called by the  to inform the listener
 that it has move to standby mode. | 
| void | schedulerShutdown()
 Called by the  to inform the listener
 that it has shutdown. | 
| void | schedulerShuttingdown()
 Called by the  to inform the listener
 that it has begun the shutdown sequence. | 
| void | schedulerStarted()
 Called by the  to inform the listener
 that it has started. | 
| void | schedulerStarting()
 Called by the  to inform the listener
 that it is starting. | 
| void | schedulingDataCleared()Called by the  to inform the listener
 that all jobs, triggers and calendars were deleted. | 
| void | triggerFinalized(Trigger trigger) | 
| void | triggerPaused(TriggerKey triggerKey) | 
| void | triggerResumed(TriggerKey triggerKey) | 
| void | triggersPaused(String triggerGroup) | 
| void | triggersResumed(String triggerGroup) | 
void jobScheduled(Trigger trigger)
void jobUnscheduled(TriggerKey triggerKey)
schedulingDataCleared()void triggerFinalized(Trigger trigger)
void triggerPaused(TriggerKey triggerKey)
void triggersPaused(String triggerGroup)
 Called by the SchedulerTriggers
If all groups were paused then triggerGroup will be null
triggerGroup - the paused group, or null if all were pausedvoid triggerResumed(TriggerKey triggerKey)
void triggersResumed(String triggerGroup)
void jobAdded(JobDetail jobDetail)
void jobDeleted(JobKey jobKey)
void jobPaused(JobKey jobKey)
void jobsPaused(String jobGroup)
jobGroup - the paused group, or null if all were pausedvoid jobResumed(JobKey jobKey)
void jobsResumed(String jobGroup)
void schedulerError(String msg, SchedulerException cause)
 Called by the SchedulerJobStore,
 or the inability to instantiate a Job instance when its
 Trigger has fired.
 
 The getErrorCode() method of the given SchedulerException
 can be used to determine more specific information about the type of
 error that was encountered.
 
void schedulerInStandbyMode()
 Called by the Scheduler
void schedulerStarted()
 Called by the Scheduler
void schedulerStarting()
 Called by the Scheduler
void schedulerShutdown()
 Called by the Scheduler
void schedulerShuttingdown()
 Called by the Scheduler
void schedulingDataCleared()
SchedulerCopyright 2001-2019, Terracotta, Inc.