spring-framework / org.springframework.scheduling.quartz / MethodInvokingJobDetailFactoryBean / setConcurrent

setConcurrent

open fun setConcurrent(concurrent: Boolean): Unit

Specify whether or not multiple jobs should be run in a concurrent fashion. The behavior when one does not want concurrent jobs to be executed is realized through adding the @PersistJobDataAfterExecution and @DisallowConcurrentExecution markers. More information on stateful versus stateless jobs can be found here.

The default setting is to run jobs concurrently.