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() |
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.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.
|
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.