| 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 | 
|---|---|
TaskExecutorBuilder | 
TaskExecutionAutoConfiguration.taskExecutorBuilder(TaskExecutionProperties properties,
                   ObjectProvider<TaskExecutorCustomizer> taskExecutorCustomizers,
                   ObjectProvider<TaskDecorator> taskDecorator)  | 
| Modifier and Type | Method and Description | 
|---|---|
ThreadPoolTaskExecutor | 
TaskExecutionAutoConfiguration.applicationTaskExecutor(TaskExecutorBuilder builder)  | 
| Modifier and Type | Method and Description | 
|---|---|
TaskExecutorBuilder | 
TaskExecutorBuilder.additionalCustomizers(Iterable<TaskExecutorCustomizer> customizers)
Add  
TaskExecutorCustomizers that should be applied
 to the ThreadPoolTaskExecutor. | 
TaskExecutorBuilder | 
TaskExecutorBuilder.additionalCustomizers(TaskExecutorCustomizer... customizers)
Add  
TaskExecutorCustomizers that should be applied
 to the ThreadPoolTaskExecutor. | 
TaskExecutorBuilder | 
TaskExecutorBuilder.allowCoreThreadTimeOut(boolean allowCoreThreadTimeOut)
Set whether core threads are allow to time out. 
 | 
TaskExecutorBuilder | 
TaskExecutorBuilder.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. 
 | 
TaskExecutorBuilder | 
TaskExecutorBuilder.awaitTerminationPeriod(Duration awaitTerminationPeriod)
Set the maximum time the executor is supposed to block on shutdown. 
 | 
TaskExecutorBuilder | 
TaskExecutorBuilder.corePoolSize(int corePoolSize)
Set the core number of threads. 
 | 
TaskExecutorBuilder | 
TaskExecutorBuilder.customizers(Iterable<TaskExecutorCustomizer> customizers)
Set the  
TaskExecutorCustomizers that should be
 applied to the ThreadPoolTaskExecutor. | 
TaskExecutorBuilder | 
TaskExecutorBuilder.customizers(TaskExecutorCustomizer... customizers)
Set the  
TaskExecutorCustomizers that should be
 applied to the ThreadPoolTaskExecutor. | 
TaskExecutorBuilder | 
TaskExecutorBuilder.keepAlive(Duration keepAlive)
Set the time limit for which threads may remain idle before being terminated. 
 | 
TaskExecutorBuilder | 
TaskExecutorBuilder.maxPoolSize(int maxPoolSize)
Set the maximum allowed number of threads. 
 | 
TaskExecutorBuilder | 
TaskExecutorBuilder.queueCapacity(int queueCapacity)
Set the capacity of the queue. 
 | 
TaskExecutorBuilder | 
TaskExecutorBuilder.taskDecorator(TaskDecorator taskDecorator)
Set the  
TaskDecorator to use or null to not use any. | 
TaskExecutorBuilder | 
TaskExecutorBuilder.threadNamePrefix(String threadNamePrefix)
Set the prefix to use for the names of newly created threads. 
 |