public interface SchedulerListener
The interface to be implemented by classes that want to be informed of major
events.
Scheduler
Scheduler
,
JobListener
,
TriggerListener
Modifier and Type | Method and Description |
---|---|
void |
jobAdded(JobDetail jobDetail)
|
void |
jobDeleted(String jobName,
String groupName)
|
void |
jobScheduled(Trigger trigger)
|
void |
jobsPaused(String jobName,
String jobGroup)
|
void |
jobsResumed(String jobName,
String jobGroup)
|
void |
jobUnscheduled(String triggerName,
String triggerGroup)
|
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 process. |
void |
schedulerStarted()
Called by the
to inform the listener
that it has started. |
void |
triggerFinalized(Trigger trigger)
|
void |
triggersPaused(String triggerName,
String triggerGroup)
|
void |
triggersResumed(String triggerName,
String triggerGroup)
|
void jobScheduled(Trigger trigger)
void triggerFinalized(Trigger trigger)
void jobAdded(JobDetail jobDetail)
void schedulerError(String msg, SchedulerException cause)
Called by the
when a serious error has
occurred within the scheduler - such as repeated failures in the Scheduler
JobStore
,
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 process.
Scheduler
Copyright © 2017. All rights reserved.