public interface SchedulerListener
Scheduler
events.Scheduler
,
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 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)
|
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
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)
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.Copyright 2001-2019, Terracotta, Inc.