Package org.quartz
Interface StatefulJob
-
- All Superinterfaces:
Job
@Deprecated @PersistJobDataAfterExecution @DisallowConcurrentExecution public interface StatefulJob extends Job
Deprecated.use DisallowConcurrentExecution and/or PersistJobDataAfterExecution annotations instead.A marker interface fors that wish to have their state maintained between executions.JobDetailStatefulJobinstances follow slightly different rules from regularJobinstances. The key difference is that their associatedis 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 theJobDataMapexecute(xx)method will be delayed.- Author:
- James House
- See Also:
DisallowConcurrentExecution,PersistJobDataAfterExecution,Job,JobDetail,JobDataMap,Scheduler