Class QuartzRuntimeConfig


  • @ConfigRoot(phase=RUN_TIME)
    public class QuartzRuntimeConfig
    extends Object
    • Field Detail

      • instanceName

        @ConfigItem(defaultValue="QuarkusQuartzScheduler")
        public String instanceName
        The name of the Quartz instance.
      • threadCount

        @ConfigItem(defaultValue="25")
        public int threadCount
        The size of scheduler thread pool. This will initialize the number of worker threads in the pool.
      • threadPriority

        @ConfigItem(defaultValue="5")
        public int threadPriority
        Thread priority of worker threads in the pool.
      • startMode

        @ConfigItem(defaultValue="normal")
        public QuartzStartMode startMode
        Scheduler can be started in different modes: normal, forced or halted. By default, the scheduler is not started unless a Scheduled business method is found. If set to "forced", scheduler will be started even if no scheduled business methods are found. This is necessary for "pure" programmatic scheduling. Additionally, setting it to "halted" will behave 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.
    • Constructor Detail

      • QuartzRuntimeConfig

        public QuartzRuntimeConfig()