|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.quartz.core Class SampledStatisticsImpl
java.lang.Objectorg.quartz.listeners.SchedulerListenerSupport
org.quartz.core.SampledStatisticsImpl
- All Implemented Interfaces:
- SampledStatistics, JobListener, SchedulerListener
public class SampledStatisticsImpl
- extends SchedulerListenerSupport
- implements SampledStatistics, JobListener, SchedulerListener
| 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 Scheduler when a JobDetail
has been added. |
void |
jobDeleted(String jobName,
String groupName)
|
void |
jobExecutionVetoed(JobExecutionContext context)
Called by the Scheduler when a JobDetail
was about to be executed (an associated Trigger
has occurred), but a TriggerListener vetoed it's
execution. |
void |
jobScheduled(Trigger trigger)
Called by the Scheduler when a JobDetail
is scheduled. |
void |
jobToBeExecuted(JobExecutionContext context)
Called by the Scheduler when a JobDetail
is about to be executed (an associated Trigger
has occurred). |
void |
jobWasExecuted(JobExecutionContext context,
JobExecutionException jobException)
Called by the Scheduler after a JobDetail
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 |
|---|
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceSampledStatistics
clearStatistics
public void clearStatistics()
- Clears the collected statistics. Resets all counters to zero
getJobsCompletedMostRecentSample
public long getJobsCompletedMostRecentSample()
- Specified by:
getJobsCompletedMostRecentSamplein interfaceSampledStatistics
getJobsExecutingMostRecentSample
public long getJobsExecutingMostRecentSample()
- Specified by:
getJobsExecutingMostRecentSamplein interfaceSampledStatistics
getJobsScheduledMostRecentSample
public long getJobsScheduledMostRecentSample()
- Specified by:
getJobsScheduledMostRecentSamplein interfaceSampledStatistics
getName
public String getName()
- Description copied from interface:
JobListener Get the name of the
JobListener.- Specified by:
getNamein interfaceJobListener
jobScheduled
public void jobScheduled(Trigger trigger)
- Description copied from interface:
SchedulerListener Called by the
Schedulerwhen aJobDetailis scheduled.- Specified by:
jobScheduledin interfaceSchedulerListener- Overrides:
jobScheduledin classSchedulerListenerSupport
jobExecutionVetoed
public void jobExecutionVetoed(JobExecutionContext context)
- Description copied from interface:
JobListener Called by the
Schedulerwhen aJobDetailwas about to be executed (an associatedTriggerhas occurred), but aTriggerListenervetoed it's execution.- Specified by:
jobExecutionVetoedin interfaceJobListener
jobToBeExecuted
public void jobToBeExecuted(JobExecutionContext context)
- Description copied from interface:
JobListener Called by the
Schedulerwhen aJobDetailis about to be executed (an associatedTriggerhas occurred).This method will not be invoked if the execution of the Job was vetoed by a
TriggerListener.- Specified by:
jobToBeExecutedin interfaceJobListener
jobWasExecuted
public void jobWasExecuted(JobExecutionContext context, JobExecutionException jobException)
- Description copied from interface:
JobListener Called by the
Schedulerafter aJobDetailhas been executed, and be for the associatedTrigger'striggered(xx)method has been called.- Specified by:
jobWasExecutedin interfaceJobListener
jobAdded
public void jobAdded(JobDetail jobDetail)
- Description copied from interface:
SchedulerListener Called by the
Schedulerwhen aJobDetailhas been added.- Specified by:
jobAddedin interfaceSchedulerListener- Overrides:
jobAddedin classSchedulerListenerSupport
jobDeleted
public void jobDeleted(String jobName, String groupName)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2001-2011, Terracotta, Inc.
