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.
|
Constructor and Description |
---|
TaskExecutionAutoConfiguration(TaskExecutionProperties properties,
ObjectProvider<TaskExecutorCustomizer> taskExecutorCustomizers,
ObjectProvider<TaskDecorator> taskDecorator) |
Modifier and Type | Method and Description |
---|---|
TaskExecutorBuilder |
TaskExecutorBuilder.additionalCustomizers(TaskExecutorCustomizer... taskExecutorCustomizers)
Add
TaskExecutorCustomizers that should be applied
to the ThreadPoolTaskExecutor . |
TaskExecutorBuilder |
TaskExecutorBuilder.customizers(TaskExecutorCustomizer... taskExecutorCustomizers)
Set the
TaskExecutorCustomizers that should be
applied to the ThreadPoolTaskExecutor . |
Modifier and Type | Method and Description |
---|---|
TaskExecutorBuilder |
TaskExecutorBuilder.additionalCustomizers(Collection<? extends TaskExecutorCustomizer> taskExecutorCustomizers)
Add
TaskExecutorCustomizers that should be applied
to the ThreadPoolTaskExecutor . |
TaskExecutorBuilder |
TaskExecutorBuilder.customizers(Collection<? extends TaskExecutorCustomizer> taskExecutorCustomizers)
Set the
TaskExecutorCustomizers that should be
applied to the ThreadPoolTaskExecutor . |
Constructor and Description |
---|
TaskExecutorBuilder(TaskExecutorCustomizer... taskExecutorCustomizers) |
Constructor and Description |
---|
TaskExecutorBuilder(Integer queueCapacity,
Integer corePoolSize,
Integer maxPoolSize,
Boolean allowCoreThreadTimeOut,
Duration keepAlive,
String threadNamePrefix,
TaskDecorator taskDecorator,
Set<TaskExecutorCustomizer> taskExecutorCustomizers) |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.