io.quarkus.quartz.runtime.QuartzStartMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-quartz Show documentation
Show all versions of quarkus-quartz Show documentation
Schedule clustered tasks with Quartz
package io.quarkus.quartz.runtime;
import io.quarkus.scheduler.runtime.SchedulerRuntimeConfig;
/**
* Defines starting modes of Quartz scheduler
*
* @deprecated Use {@link SchedulerRuntimeConfig.StartMode} instead.
*/
@Deprecated(forRemoval = true)
public enum QuartzStartMode {
/**
* Scheduler is not started unless a {@link io.quarkus.scheduler.Scheduled} business method is found.
*/
NORMAL,
/**
* Scheduler will be started even if no scheduled business methods are found.
* This is necessary for "pure" programmatic scheduling.
*/
FORCED,
/**
* Just like forced mode but the scheduler will not start triggering jobs until an explicit start is called
* from the main scheduler.
* This is useful to programmatically register listeners before scheduler starts performing some work.
*/
HALTED;
}