public class FixedDelayJobListener extends Object implements org.quartz.JobListener
| Modifier and Type | Field and Description |
|---|---|
static String |
FIXED_JOB_LISTENER_NAME |
SchedulerUtil |
sched |
| Constructor and Description |
|---|
FixedDelayJobListener(SchedulerUtil scheduler)
create a new Job Listener.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
void |
jobExecutionVetoed(org.quartz.JobExecutionContext arg0) |
void |
jobToBeExecuted(org.quartz.JobExecutionContext arg0) |
void |
jobWasExecuted(org.quartz.JobExecutionContext context,
org.quartz.JobExecutionException exception)
reschedule the job with a new trigger.
|
public static final String FIXED_JOB_LISTENER_NAME
public SchedulerUtil sched
public FixedDelayJobListener(SchedulerUtil scheduler)
scheduler - - the scheduler used rescheduling the next jobpublic String getName()
getName in interface org.quartz.JobListenerpublic void jobWasExecuted(org.quartz.JobExecutionContext context,
org.quartz.JobExecutionException exception)
jobWasExecuted in interface org.quartz.JobListenerJobListener.jobWasExecuted(JobExecutionContext,
JobExecutionException)public void jobExecutionVetoed(org.quartz.JobExecutionContext arg0)
jobExecutionVetoed in interface org.quartz.JobListenerpublic void jobToBeExecuted(org.quartz.JobExecutionContext arg0)
jobToBeExecuted in interface org.quartz.JobListenerCopyright © 2012. All Rights Reserved.