Uses of Class
org.springframework.boot.task.TaskExecutorBuilder
Package
Description
Utilities and classes related to task execution and scheduling.
-
Uses of TaskExecutorBuilder in org.springframework.boot.task
Modifier and TypeMethodDescriptionTaskExecutorBuilder.additionalCustomizers
(Iterable<TaskExecutorCustomizer> customizers) Deprecated, for removal: This API element is subject to removal in a future version.AddTaskExecutorCustomizers
that should be applied to theThreadPoolTaskExecutor
.TaskExecutorBuilder.additionalCustomizers
(TaskExecutorCustomizer... customizers) Deprecated, for removal: This API element is subject to removal in a future version.AddTaskExecutorCustomizers
that should be applied to theThreadPoolTaskExecutor
.TaskExecutorBuilder.allowCoreThreadTimeOut
(boolean allowCoreThreadTimeOut) Deprecated, for removal: This API element is subject to removal in a future version.Set whether core threads are allowed to time out.TaskExecutorBuilder.awaitTermination
(boolean awaitTermination) Deprecated, for removal: This API element is subject to removal in a future version.Set whether the executor should wait for scheduled tasks to complete on shutdown, not interrupting running tasks and executing all tasks in the queue.TaskExecutorBuilder.awaitTerminationPeriod
(Duration awaitTerminationPeriod) Deprecated, for removal: This API element is subject to removal in a future version.Set the maximum time the executor is supposed to block on shutdown.TaskExecutorBuilder.corePoolSize
(int corePoolSize) Deprecated, for removal: This API element is subject to removal in a future version.Set the core number of threads.TaskExecutorBuilder.customizers
(Iterable<TaskExecutorCustomizer> customizers) Deprecated, for removal: This API element is subject to removal in a future version.Set theTaskExecutorCustomizers
that should be applied to theThreadPoolTaskExecutor
.TaskExecutorBuilder.customizers
(TaskExecutorCustomizer... customizers) Deprecated, for removal: This API element is subject to removal in a future version.Set theTaskExecutorCustomizers
that should be applied to theThreadPoolTaskExecutor
.Deprecated, for removal: This API element is subject to removal in a future version.Set the time limit for which threads may remain idle before being terminated.TaskExecutorBuilder.maxPoolSize
(int maxPoolSize) Deprecated, for removal: This API element is subject to removal in a future version.Set the maximum allowed number of threads.TaskExecutorBuilder.queueCapacity
(int queueCapacity) Deprecated, for removal: This API element is subject to removal in a future version.Set the capacity of the queue.TaskExecutorBuilder.taskDecorator
(TaskDecorator taskDecorator) Deprecated, for removal: This API element is subject to removal in a future version.Set theTaskDecorator
to use ornull
to not use any.TaskExecutorBuilder.threadNamePrefix
(String threadNamePrefix) Deprecated, for removal: This API element is subject to removal in a future version.Set the prefix to use for the names of newly created threads.