org.quartz
Annotation Type PersistJobDataAfterExecution


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface PersistJobDataAfterExecution

An annotation that marks a Job class as one that makes updates to its JobDataMap during execution, and wishes the scheduler to re-store the JobDataMap when execution completes.

Jobs that are marked with this annotation should also seriously consider using the DisallowConcurrentExecution annotation, to avoid data storage race conditions with concurrently executing job instances.

Author:
jhouse
See Also:
DisallowConcurrentExecution



Copyright 2001-2019, Terracotta, Inc.