|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.listeners.SchedulerListenerSupport
org.quartz.core.SampledStatisticsImpl
public class SampledStatisticsImpl
| Method Summary | |
|---|---|
void |
clearStatistics()
Clears the collected statistics. |
long |
getJobsCompletedMostRecentSample()
|
long |
getJobsExecutingMostRecentSample()
|
long |
getJobsScheduledMostRecentSample()
|
String |
getName()
Get the name of the JobListener. |
void |
jobAdded(JobDetail jobDetail)
Called by the when a
has been added. |
void |
jobDeleted(String jobName,
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, schedulerStarting, 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, schedulerStarting, schedulingDataCleared, triggerFinalized, triggerPaused, triggerResumed, triggersPaused, triggersResumed |
| Method Detail |
|---|
public void shutdown()
shutdown in interface SampledStatisticspublic void clearStatistics()
public long getJobsCompletedMostRecentSample()
getJobsCompletedMostRecentSample in interface SampledStatisticspublic long getJobsExecutingMostRecentSample()
getJobsExecutingMostRecentSample in interface SampledStatisticspublic long getJobsScheduledMostRecentSample()
getJobsScheduledMostRecentSample in interface SampledStatisticspublic String getName()
JobListener
Get the name of the JobListener.
getName in interface JobListenerpublic void jobScheduled(Trigger trigger)
SchedulerListener
Called by the when a Scheduler
is scheduled.
JobDetail
jobScheduled in interface SchedulerListenerjobScheduled in class SchedulerListenerSupportpublic 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 JobListenerJobListener.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 JobListenerJobListener.jobExecutionVetoed(JobExecutionContext)
public void jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
JobListener
Called by the after a Scheduler
has been executed, and be for the associated JobDetailTrigger's
triggered(xx) method has been called.
jobWasExecuted in interface JobListenerpublic void jobAdded(JobDetail jobDetail)
SchedulerListener
Called by the when a Scheduler
has been added.
JobDetail
jobAdded in interface SchedulerListenerjobAdded in class SchedulerListenerSupport
public void jobDeleted(String jobName,
String groupName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||