Class PersistJobDataAfterExecutionAttribute
- Namespace
- Quartz
- Assembly
- Quartz.dll
An attribute that marks a IJob class as one that makes updates to its JobDataMap during execution, and wishes the scheduler to re-store the JobDataMap when execution completes.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public sealed class PersistJobDataAfterExecutionAttribute : Attribute
- Inheritance
-
PersistJobDataAfterExecutionAttribute
- Inherited Members
Remarks
Jobs that are marked with this annotation should also seriously consider using the DisallowConcurrentExecutionAttribute attribute, to avoid data storage race conditions with concurrently executing job instances.
This can be used in lieu of implementing the StatefulJob marker interface that was used prior to Quartz 2.0