|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.quartz.listeners.SchedulerListenerSupport org.quartz.core.SampledStatisticsImpl
public class SampledStatisticsImpl
Method Summary | |
---|---|
void |
clearStatistics()
Clears the collected statistics. |
long |
getJobsCompletedMostRecentSample()
|
long |
getJobsExecutingMostRecentSample()
|
long |
getJobsScheduledMostRecentSample()
|
java.lang.String |
getName()
Get the name of the JobListener . |
void |
jobAdded(JobDetail jobDetail)
Called by the when a
has been added. |
void |
jobDeleted(java.lang.String jobName,
java.lang.String groupName)
|
void |
jobExecutionVetoed(JobExecutionContext context)
Called by the when a
was about to be executed (an associated
has occurred), but a vetoed it's
execution. |
void |
jobScheduled(Trigger trigger)
Called by the when a
is scheduled. |
void |
jobToBeExecuted(JobExecutionContext context)
Called by the when a
is about to be executed (an associated
has occurred). |
void |
jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
Called by the after a
has been executed, and be for the associated Trigger 's
triggered(xx) method has been called. |
void |
shutdown()
|
Methods inherited from class org.quartz.listeners.SchedulerListenerSupport |
---|
getLog, jobDeleted, jobPaused, jobResumed, jobsPaused, jobsResumed, jobUnscheduled, schedulerError, schedulerInStandbyMode, schedulerShutdown, schedulerShuttingdown, schedulerStarted, schedulingDataCleared, triggerFinalized, triggerPaused, triggerResumed, triggersPaused, triggersResumed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.quartz.SchedulerListener |
---|
jobDeleted, jobPaused, jobResumed, jobsPaused, jobsResumed, jobUnscheduled, schedulerError, schedulerInStandbyMode, schedulerShutdown, schedulerShuttingdown, schedulerStarted, schedulingDataCleared, triggerFinalized, triggerPaused, triggerResumed, triggersPaused, triggersResumed |
Method Detail |
---|
public void shutdown()
shutdown
in interface SampledStatistics
public void clearStatistics()
public long getJobsCompletedMostRecentSample()
getJobsCompletedMostRecentSample
in interface SampledStatistics
public long getJobsExecutingMostRecentSample()
getJobsExecutingMostRecentSample
in interface SampledStatistics
public long getJobsScheduledMostRecentSample()
getJobsScheduledMostRecentSample
in interface SampledStatistics
public java.lang.String getName()
JobListener
Get the name of the JobListener
.
getName
in interface JobListener
public void jobScheduled(Trigger trigger)
SchedulerListener
Called by the
when a Scheduler
is scheduled.
JobDetail
jobScheduled
in interface SchedulerListener
jobScheduled
in class SchedulerListenerSupport
public void jobExecutionVetoed(JobExecutionContext context)
JobListener
Called by the
when a Scheduler
was about to be executed (an associated JobDetail
has occurred), but a Trigger
vetoed it's
execution.
TriggerListener
jobExecutionVetoed
in interface JobListener
JobListener.jobToBeExecuted(JobExecutionContext)
public void jobToBeExecuted(JobExecutionContext context)
JobListener
Called by the
when a Scheduler
is about to be executed (an associated JobDetail
has occurred).
Trigger
This method will not be invoked if the execution of the Job was vetoed
by a
.
TriggerListener
jobToBeExecuted
in interface JobListener
JobListener.jobExecutionVetoed(JobExecutionContext)
public void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)
JobListener
Called by the
after a Scheduler
has been executed, and be for the associated JobDetail
Trigger
's
triggered(xx)
method has been called.
jobWasExecuted
in interface JobListener
public void jobAdded(JobDetail jobDetail)
SchedulerListener
Called by the
when a Scheduler
has been added.
JobDetail
jobAdded
in interface SchedulerListener
jobAdded
in class SchedulerListenerSupport
public void jobDeleted(java.lang.String jobName, java.lang.String groupName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |