DisallowConcurrentExecution (Quartz Parent POM 2.0.1 API)

Quartz Java



org.quartz Annotation Type DisallowConcurrentExecution


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

An annotation that marks a Job class as one that must not have multiple instances executed concurrently (where instance is based-upon a JobDetail definition - or in other words based upon a JobKey).

This can be used in lieu of implementing the StatefulJob marker interface that was used prior to Quartz 2.0

Author:
jhouse
See Also:
PersistJobDataAfterExecution



Copyright 2001-2011, Terracotta, Inc.