org.quartz
Interface StatefulJob

All Superinterfaces:
Job

Deprecated. use DisallowConcurrentExecution and/or PersistJobDataAfterExecution annotations instead.

@PersistJobDataAfterExecution
@DisallowConcurrentExecution
public interface StatefulJob
extends Job

A marker interface for JobDetail s that wish to have their state maintained between executions.

StatefulJob instances follow slightly different rules from regular Job instances. The key difference is that their associated JobDataMap 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 execute(xx) method will be delayed.

Author:
James House
See Also:
DisallowConcurrentExecution, PersistJobDataAfterExecution, Job, JobDetail, JobDataMap, Scheduler

Method Summary
 
Methods inherited from interface org.quartz.Job
execute
 



Copyright 2001-2013, Terracotta, Inc.