public interface SchedulerListener
Scheduler events.| Modifier and Type | Method and Description |
|---|---|
void |
jobAdded(JobDetail jobDetail)
|
void |
jobDeleted(String jobKey)
|
void |
jobScheduled(Trigger trigger)
|
void |
jobUnscheduled(String triggerKey)
|
void |
schedulerError(String msg,
SchedulerException cause)
Called by the
when a serious error has occurred within the scheduler - such as repeated failures in the
JobStore, or the inability to instantiate a Job instance when its Trigger has 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 |
schedulingDataCleared()
Called by the
to inform the listener that all jobs, triggers and calendars were deleted. |
void |
triggerFinalized(Trigger trigger)
|
void jobScheduled(Trigger trigger)
void jobUnscheduled(String triggerKey)
schedulingDataCleared()void triggerFinalized(Trigger trigger)
void jobAdded(JobDetail jobDetail)
void jobDeleted(String jobKey)
void schedulerError(String msg, SchedulerException cause)
Called by the when a serious error has occurred within the scheduler - such as repeated failures in 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 to inform the listener that it has move to standby mode.
Scheduler
void schedulerStarted()
Called by the to inform the listener that it has started.
Scheduler
void schedulerShutdown()
Called by the to inform the listener that it has shutdown.
Scheduler
void schedulerShuttingdown()
Called by the to inform the listener that it has begun the shutdown sequence.
Scheduler
void schedulingDataCleared()
Scheduler to inform the listener that all jobs, triggers and calendars were deleted.Copyright © 2011–2017 Knowm Inc.. All rights reserved.