Annotation Interface Nonconcurrent


@Target(METHOD) @Retention(RUNTIME) public @interface Nonconcurrent
A scheduled method annotated with this annotation may not be executed concurrently. The behavior is identical to a Job class annotated with DisallowConcurrentExecution.

If quarkus.quartz.run-blocking-scheduled-method-on-quartz-thread is set to false the execution of a scheduled method is offloaded to a specific Quarkus thread pool but the triggering Quartz thread is blocked until the execution is finished. Therefore, make sure the Quartz thread pool is configured appropriately.

If quarkus.quartz.run-blocking-scheduled-method-on-quartz-thread is set to true the scheduled method is invoked on a thread managed by Quartz.

Unlike with Scheduled.ConcurrentExecution.SKIP the SkippedExecution event is never fired if a method execution is skipped by Quartz.

See Also:
  • DisallowConcurrentExecution