Uses of Class
org.springframework.boot.task.TaskSchedulerBuilder
Package
Description
Auto-configuration for Spring Integration.
Auto-configuration for task execution and scheduling.
Utilities and classes related to task execution and scheduling.
-
Uses of TaskSchedulerBuilder in org.springframework.boot.autoconfigure.integration
Modifier and TypeMethodDescriptionIntegrationAutoConfiguration.IntegrationTaskSchedulerConfiguration.taskScheduler
(TaskSchedulerBuilder builder) -
Uses of TaskSchedulerBuilder in org.springframework.boot.autoconfigure.task
Modifier and TypeMethodDescriptionTaskSchedulingAutoConfiguration.taskSchedulerBuilder
(TaskSchedulingProperties properties, ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers) Modifier and TypeMethodDescriptionTaskSchedulingAutoConfiguration.taskScheduler
(TaskSchedulerBuilder builder) -
Uses of TaskSchedulerBuilder in org.springframework.boot.task
Modifier and TypeMethodDescriptionTaskSchedulerBuilder.additionalCustomizers
(Iterable<TaskSchedulerCustomizer> customizers) AddtaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.TaskSchedulerBuilder.additionalCustomizers
(TaskSchedulerCustomizer... customizers) AddtaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.TaskSchedulerBuilder.awaitTermination
(boolean awaitTermination) Set whether the executor should wait for scheduled tasks to complete on shutdown, not interrupting running tasks and executing all tasks in the queue.TaskSchedulerBuilder.awaitTerminationPeriod
(Duration awaitTerminationPeriod) Set the maximum time the executor is supposed to block on shutdown.TaskSchedulerBuilder.customizers
(Iterable<TaskSchedulerCustomizer> customizers) Set thetaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.TaskSchedulerBuilder.customizers
(TaskSchedulerCustomizer... customizers) Set theTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.TaskSchedulerBuilder.poolSize
(int poolSize) Set the maximum allowed number of threads.TaskSchedulerBuilder.threadNamePrefix
(String threadNamePrefix) Set the prefix to use for the names of newly created threads.