All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.quartz.runtime.QuartzStartMode Maven / Gradle / Ivy

There is a newer version: 3.17.0
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy