|
||||||||||
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(java.lang.String jobName,
java.lang.String groupName)
Called by the when a
has been deleted. |
void |
jobScheduled(Trigger trigger)
Called by the when a
is scheduled. |
void |
jobsPaused(java.lang.String jobName,
java.lang.String jobGroup)
Called by the when a
or group of has been
paused. |
void |
jobsResumed(java.lang.String jobName,
java.lang.String jobGroup)
Called by the when a
or group of has been
un-paused. |
void |
jobUnscheduled(java.lang.String triggerName,
java.lang.String triggerGroup)
Called by the when a
is unscheduled. |
void |
schedulerError(java.lang.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)
Called by the when a
has reached the condition in which it will never fire again. |
void |
triggersPaused(java.lang.String triggerName,
java.lang.String triggerGroup)
Called by the when a
or group of has been paused. |
void |
triggersResumed(java.lang.String triggerName,
java.lang.String triggerGroup)
Called by the when a
or group of has been un-paused. |
Method Detail |
---|
void jobScheduled(Trigger trigger)
void jobUnscheduled(java.lang.String triggerName, java.lang.String triggerGroup)
void triggerFinalized(Trigger trigger)
void triggersPaused(java.lang.String triggerName, java.lang.String triggerGroup)
Called by the
when a Scheduler
or group of Trigger
has been paused.
Trigger
s
If a group was paused, then the triggerName
parameter
will be null.
void triggersResumed(java.lang.String triggerName, java.lang.String triggerGroup)
Called by the
when a Scheduler
or group of Trigger
has been un-paused.
Trigger
s
If a group was resumed, then the triggerName
parameter
will be null.
void jobAdded(JobDetail jobDetail)
void jobDeleted(java.lang.String jobName, java.lang.String groupName)
void jobsPaused(java.lang.String jobName, java.lang.String jobGroup)
Called by the
when a Scheduler
or group of JobDetail
has been
paused.
JobDetail
s
If a group was paused, then the jobName
parameter will be
null. If all jobs were paused, then both parameters will be null.
void jobsResumed(java.lang.String jobName, java.lang.String jobGroup)
Called by the
when a Scheduler
or group of JobDetail
has been
un-paused.
JobDetail
s
If a group was resumed, then the jobName
parameter will
be null. If all jobs were paused, then both parameters will be null.
void schedulerError(java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |