Package org.quartz.listeners
Interface SchedulerListener
- All Known Implementing Classes:
JobRunShell,SchedulerListenerSupport
public interface SchedulerListener
The interface to be implemented by classes that want to be informed of major
Scheduler events.- Author:
- James House
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidjobDeleted(String jobKey) voidjobScheduled(Trigger trigger) voidjobUnscheduled(String triggerKey) voidschedulerError(String msg, SchedulerException cause) Called by thewhen a serious error has occurred within the scheduler - such as repeated failures in theSchedulerJobStore, or the inability to instantiate aJobinstance when itsTriggerhas fired.voidCalled by theto inform the listener that it has move to standby mode.SchedulervoidCalled by theto inform the listener that it has shutdown.SchedulervoidCalled by theto inform the listener that it has begun the shutdown sequence.SchedulervoidCalled by theto inform the listener that it has started.SchedulervoidCalled by theto inform the listener that all jobs, triggers and calendars were deleted.SchedulervoidtriggerFinalized(Trigger trigger)
-
Method Details
-
jobScheduled
-
jobUnscheduled
- See Also:
-
triggerFinalized
-
jobAdded
-
jobDeleted
-
schedulerError
Called by thewhen a serious error has occurred within the scheduler - such as repeated failures in theSchedulerJobStore, or the inability to instantiate aJobinstance when itsTriggerhas fired.The
getErrorCode()method of the given SchedulerException can be used to determine more specific information about the type of error that was encountered. -
schedulerInStandbyMode
void schedulerInStandbyMode()Called by theto inform the listener that it has move to standby mode.Scheduler -
schedulerStarted
void schedulerStarted()Called by theto inform the listener that it has started.Scheduler -
schedulerShutdown
void schedulerShutdown()Called by theto inform the listener that it has shutdown.Scheduler -
schedulerShuttingdown
void schedulerShuttingdown()Called by theto inform the listener that it has begun the shutdown sequence.Scheduler -
schedulingDataCleared
void schedulingDataCleared()Called by theto inform the listener that all jobs, triggers and calendars were deleted.Scheduler
-