Package | Description |
---|---|
org.springframework.boot.autoconfigure.task |
Auto-configuration for task execution and scheduling.
|
org.springframework.boot.task |
Utilities and classes related to task execution and scheduling.
|
Modifier and Type | Method and Description |
---|---|
TaskSchedulerBuilder |
TaskSchedulingAutoConfiguration.taskSchedulerBuilder(TaskSchedulingProperties properties,
ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers) |
Modifier and Type | Method and Description |
---|---|
TaskSchedulerBuilder |
TaskSchedulerBuilder.additionalCustomizers(TaskSchedulerCustomizer... customizers)
Add
taskSchedulerCustomizers that should be applied
to the ThreadPoolTaskScheduler . |
TaskSchedulerBuilder |
TaskSchedulerBuilder.customizers(TaskSchedulerCustomizer... customizers)
Set the
TaskSchedulerCustomizers that should be
applied to the ThreadPoolTaskScheduler . |
Modifier and Type | Method and Description |
---|---|
TaskSchedulerBuilder |
TaskSchedulerBuilder.additionalCustomizers(Iterable<TaskSchedulerCustomizer> customizers)
Add
taskSchedulerCustomizers that should be applied
to the ThreadPoolTaskScheduler . |
TaskSchedulerBuilder |
TaskSchedulerBuilder.customizers(Iterable<TaskSchedulerCustomizer> customizers)
Set the
taskSchedulerCustomizers that should be
applied to the ThreadPoolTaskScheduler . |
Constructor and Description |
---|
TaskSchedulerBuilder(Integer poolSize,
Boolean awaitTermination,
Duration awaitTerminationPeriod,
String threadNamePrefix,
Set<TaskSchedulerCustomizer> taskSchedulerCustomizers) |