| 
 | ||||||||||
| 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() | 
|  java.lang.String | getName()Get the name of the JobListener. | 
|  void | jobAdded(JobDetail jobDetail)Called by the when ahas been added. | 
|  void | jobDeleted(java.lang.String jobName,
           java.lang.String groupName) | 
|  void | jobExecutionVetoed(JobExecutionContext context)Called by the when awas about to be executed (an associatedhas occurred), but avetoed it's 
 execution. | 
|  void | jobScheduled(Trigger trigger)Called by the when ais scheduled. | 
|  void | jobToBeExecuted(JobExecutionContext context)Called by the when ais about to be executed (an associatedhas occurred). | 
|  void | jobWasExecuted(JobExecutionContext context,
               JobExecutionException jobException)Called by the after ahas been executed, and be for the associatedTrigger'striggered(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 SampledStatisticspublic void clearStatistics()
public long getJobsCompletedMostRecentSample()
getJobsCompletedMostRecentSample in interface SampledStatisticspublic long getJobsExecutingMostRecentSample()
getJobsExecutingMostRecentSample in interface SampledStatisticspublic long getJobsScheduledMostRecentSample()
getJobsScheduledMostRecentSample in interface SampledStatisticspublic java.lang.String getName()
JobListener
 Get the name of the JobListener.
 
getName in interface JobListenerpublic void jobScheduled(Trigger trigger)
SchedulerListener
 Called by the SchedulerJobDetail
jobScheduled in interface SchedulerListenerjobScheduled in class SchedulerListenerSupportpublic void jobExecutionVetoed(JobExecutionContext context)
JobListener
 Called by the SchedulerJobDetailTriggerTriggerListener
jobExecutionVetoed in interface JobListenerJobListener.jobToBeExecuted(JobExecutionContext)public void jobToBeExecuted(JobExecutionContext context)
JobListener
 Called by the SchedulerJobDetailTrigger
 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 SchedulerJobDetailTrigger's
 triggered(xx) method has been called.
 
jobWasExecuted in interface JobListenerpublic void jobAdded(JobDetail jobDetail)
SchedulerListener
 Called by the SchedulerJobDetail
jobAdded in interface SchedulerListenerjobAdded 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 | |||||||||