Uses of Class
org.springframework.boot.task.ThreadPoolTaskSchedulerBuilder
Package
Description
Auto-configuration for Spring Integration.
Utilities and classes related to task execution and scheduling.
-
Uses of ThreadPoolTaskSchedulerBuilder in org.springframework.boot.autoconfigure.integration
Modifier and TypeMethodDescriptionIntegrationAutoConfiguration.IntegrationTaskSchedulerConfiguration.taskScheduler
(ThreadPoolTaskSchedulerBuilder threadPoolTaskSchedulerBuilder) -
Uses of ThreadPoolTaskSchedulerBuilder in org.springframework.boot.task
Modifier and TypeMethodDescriptionThreadPoolTaskSchedulerBuilder.additionalCustomizers
(Iterable<? extends ThreadPoolTaskSchedulerCustomizer> customizers) AddthreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.ThreadPoolTaskSchedulerBuilder.additionalCustomizers
(ThreadPoolTaskSchedulerCustomizer... customizers) AddthreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.ThreadPoolTaskSchedulerBuilder.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.ThreadPoolTaskSchedulerBuilder.awaitTerminationPeriod
(Duration awaitTerminationPeriod) Set the maximum time the executor is supposed to block on shutdown.ThreadPoolTaskSchedulerBuilder.customizers
(Iterable<? extends ThreadPoolTaskSchedulerCustomizer> customizers) Set thethreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.ThreadPoolTaskSchedulerBuilder.customizers
(ThreadPoolTaskSchedulerCustomizer... customizers) Set thethreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.ThreadPoolTaskSchedulerBuilder.poolSize
(int poolSize) Set the maximum allowed number of threads.ThreadPoolTaskSchedulerBuilder.threadNamePrefix
(String threadNamePrefix) Set the prefix to use for the names of newly created threads.