|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.scheduler.jobs.AbstractStatefulJob
public abstract class AbstractStatefulJob
Provides a wrapper around Quartz stateful job. Implementations of this job will never trigger a misfire because the execute method will never throw exceptions back to Quartz. Jobs extending this class are assured by Quartz to never run concurrently within the cluster.
| Constructor Summary | |
|---|---|
AbstractStatefulJob()
|
|
| Method Summary | |
|---|---|
void |
execute(org.quartz.JobExecutionContext context)
Quartz will call this method when it needs to execute the job. |
abstract void |
executeJobCode(org.quartz.JobExecutionContext context)
Subclasses should implement this method to perform the actual job. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractStatefulJob()
| Method Detail |
|---|
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
execute in interface org.quartz.Joborg.quartz.JobExecutionExceptionJob.execute(JobExecutionContext)
public abstract void executeJobCode(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
context -
org.quartz.JobExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||