|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PersistJobDataAfterExecution @DisallowConcurrentExecution public interface StatefulJob
A marker interface for
s that
wish to have their state maintained between executions.
JobDetail
StatefulJob
instances follow slightly different rules from
regular Job
instances. The key difference is that their
associated
is re-persisted after every
execution of the job, thus preserving state for the next execution. The
other difference is that stateful jobs are not allowed to execute
concurrently, which means new triggers that occur before the completion of
the JobDataMap
execute(xx)
method will be delayed.
DisallowConcurrentExecution
,
PersistJobDataAfterExecution
,
Job
,
JobDetail
,
JobDataMap
,
Scheduler
Method Summary |
---|
Methods inherited from interface org.quartz.Job |
---|
execute |
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |