Class QuartzBuildTimeConfig


  • @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
    public class QuartzBuildTimeConfig
    extends Object
    • Field Detail

      • clustered

        @ConfigItem
        public boolean clustered
        Enable cluster mode or not.

        If enabled make sure to set the appropriate cluster properties.

      • clusterCheckinInterval

        @ConfigItem(defaultValue="15000")
        public long clusterCheckinInterval
        The frequency (in milliseconds) at which the scheduler instance checks-in with other instances of the cluster.
      • dataSourceName

        @ConfigItem(name="datasource")
        public Optional<String> dataSourceName
        The name of the datasource to use.

        Optionally needed when using the `jdbc-tx` or `jdbc-cmt` store types. If not specified, defaults to using the default datasource.

      • tablePrefix

        @ConfigItem(defaultValue="QRTZ_")
        public String tablePrefix
        The prefix for quartz job store tables.

        Ignored if using a `ram` store.

      • selectWithLockSql

        @ConfigItem
        public Optional<String> selectWithLockSql
        The SQL string that selects a row in the "LOCKS" table and places a lock on the row.

        If not set, the default value of Quartz applies, for which the "{0}" is replaced during run-time with the `table-prefix`, the "{1}" with the `instance-name`.

        An example SQL string `SELECT * FROM {0}LOCKS WHERE SCHED_NAME = {1} AND LOCK_NAME = ? FOR UPDATE`

    • Constructor Detail

      • QuartzBuildTimeConfig

        public QuartzBuildTimeConfig()