A marker interface for
IJobDetail s that
wish to have their state maintained between executions.
Namespace: QuartzAssembly: Quartz (in Quartz.dll) Version: 2.2.1.400
[ObsoleteAttribute("Use DisallowConcurrentExecutionAttribute and/or PersistJobDataAfterExecutionAttribute annotations instead.",
true)]
public interface IStatefulJob : IJob
[ObsoleteAttribute("Use DisallowConcurrentExecutionAttribute and/or PersistJobDataAfterExecutionAttribute annotations instead.",
true)]
public interface IStatefulJob : IJob
IStatefulJob instances follow slightly different rules from
regular
IJob 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(IJobExecutionContext) method will be delayed.