Package io.quarkus.quartz.runtime
Class QuartzBuildTimeConfig
- java.lang.Object
-
- io.quarkus.quartz.runtime.QuartzBuildTimeConfig
-
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public class QuartzBuildTimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description longclusterCheckinIntervalThe frequency (in milliseconds) at which the scheduler instance checks-in with other instances of the cluster.booleanclusteredEnable cluster mode or not.Optional<String>dataSourceNameThe name of the datasource to use.Map<String,QuartzExtensionPointConfig>jobListenersJob listeners.Map<String,QuartzExtensionPointConfig>pluginsPlugins.StoreTypestoreTypeThe type of store to use.StringtablePrefixThe prefix for quartz job store tables.Map<String,QuartzExtensionPointConfig>triggerListenersTrigger listeners.
-
Constructor Summary
Constructors Constructor Description QuartzBuildTimeConfig()
-
-
-
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.
-
storeType
@ConfigItem(defaultValue="ram") public StoreType storeType
The type of store to use.When using
StoreType.JDBC_CMTorStoreType.JDBC_TXconfiguration values make sure that you have the datasource configured. See Configuring your datasource for more information.To create Quartz tables, you can perform a schema migration via the Flyway extension using a SQL script matching your database picked from Quartz repository.
-
dataSourceName
@ConfigItem(name="datasource") public Optional<String> dataSourceName
The name of the datasource to use.Optionally needed when using the `db` store type. 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.
-
triggerListeners
@ConfigItem @ConfigDocMapKey("listener-name") @ConfigDocSection public Map<String,QuartzExtensionPointConfig> triggerListenersTrigger listeners.
-
jobListeners
@ConfigItem @ConfigDocMapKey("listener-name") @ConfigDocSection public Map<String,QuartzExtensionPointConfig> jobListenersJob listeners.
-
plugins
@ConfigItem @ConfigDocMapKey("plugin-name") @ConfigDocSection public Map<String,QuartzExtensionPointConfig> pluginsPlugins.
-
-