|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchedulerListener
The interface to be implemented by classes that want to be informed of major
events.
Scheduler
Scheduler
,
JobListener
,
TriggerListener
Method Summary | |
---|---|
void |
jobAdded(JobDetail jobDetail)
Called by the when a
has been added. |
void |
jobDeleted(JobKey jobKey)
Called by the when a
has been deleted. |
void |
jobPaused(JobKey jobKey)
Called by the when a
has been paused. |
void |
jobResumed(JobKey jobKey)
Called by the when a
has been un-paused. |
void |
jobScheduled(Trigger trigger)
Called by the when a
is scheduled. |
void |
jobsPaused(String jobGroup)
Called by the when a
group of has been paused. |
void |
jobsResumed(String jobGroup)
Called by the when a
group of has been un-paused. |
void |
jobUnscheduled(TriggerKey triggerKey)
Called by the when a
is unscheduled. |
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 |
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)
Called by the when a
has reached the condition in which it will never fire again. |
void |
triggerPaused(TriggerKey triggerKey)
Called by the when a
has been paused. |
void |
triggerResumed(TriggerKey triggerKey)
Called by the when a
has been un-paused. |
void |
triggersPaused(String triggerGroup)
Called by the when a
group of has been paused. |
void |
triggersResumed(String triggerGroup)
Called by the when a
group of has been un-paused. |
Method Detail |
---|
void jobScheduled(Trigger trigger)
void jobUnscheduled(TriggerKey triggerKey)
void triggerFinalized(Trigger trigger)
void triggerPaused(TriggerKey triggerKey)
void triggersPaused(String triggerGroup)
Called by the
when a
group of Scheduler
has been paused.
Trigger
s
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)
Called by the
when a
group of Scheduler
has been paused.
JobDetail
s
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
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 schedulerStarting()
Called by the
to inform the listener
that it is starting.
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |