@ConfigRoot(phase=RUN_TIME) public class QuartzRuntimeConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
forceStart
By default, the scheduler is not started unless a
Scheduled business method is found. |
String |
instanceName
The name of the Quartz instance.
|
int |
threadCount
The size of scheduler thread pool.
|
int |
threadPriority
Thread priority of worker threads in the pool.
|
| Constructor and Description |
|---|
QuartzRuntimeConfig() |
@ConfigItem(defaultValue="QuarkusQuartzScheduler") public String instanceName
@ConfigItem(defaultValue="25") public int threadCount
@ConfigItem(defaultValue="5") public int threadPriority
@ConfigItem public boolean forceStart
Scheduled business method is found.
If set to true the scheduler will be started even if no scheduled business methods are found. This is necessary for
"pure" programmatic scheduling.Copyright © 2020 JBoss by Red Hat. All rights reserved.