Package io.quarkus.scheduler.runtime
Class SchedulerRuntimeConfig
- java.lang.Object
-
- io.quarkus.scheduler.runtime.SchedulerRuntimeConfig
-
@ConfigRoot(phase=RUN_TIME) public class SchedulerRuntimeConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchedulerRuntimeConfig.StartMode
-
Field Summary
Fields Modifier and Type Field Description booleanenabledIf schedulers are enabled.DurationoverdueGracePeriodScheduled task will be flagged as overdue if next execution time is exceeded by this period.Optional<SchedulerRuntimeConfig.StartMode>startModeScheduler can be started in different modes.
-
Constructor Summary
Constructors Constructor Description SchedulerRuntimeConfig()
-
-
-
Field Detail
-
enabled
@ConfigItem(defaultValue="true") public boolean enabled
If schedulers are enabled.
-
overdueGracePeriod
@ConfigItem(defaultValue="1") public Duration overdueGracePeriod
Scheduled task will be flagged as overdue if next execution time is exceeded by this period.
-
startMode
@ConfigItem public Optional<SchedulerRuntimeConfig.StartMode> startMode
Scheduler can be started in different modes. By default, the scheduler is not started unless aScheduledbusiness method is found.
-
-