Package | Description |
---|---|
org.springframework.boot.autoconfigure.integration |
Auto-configuration for Spring Integration.
|
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 |
---|---|
ThreadPoolTaskScheduler |
IntegrationAutoConfiguration.IntegrationTaskSchedulerConfiguration.taskScheduler(TaskSchedulerBuilder builder) |
Modifier and Type | Method and Description |
---|---|
TaskSchedulerBuilder |
TaskSchedulingAutoConfiguration.taskSchedulerBuilder(TaskSchedulingProperties properties,
ObjectProvider<TaskSchedulerCustomizer> taskSchedulerCustomizers) |
Modifier and Type | Method and Description |
---|---|
ThreadPoolTaskScheduler |
TaskSchedulingAutoConfiguration.taskScheduler(TaskSchedulerBuilder builder) |
Modifier and Type | Method and Description |
---|---|
TaskSchedulerBuilder |
TaskSchedulerBuilder.additionalCustomizers(Iterable<TaskSchedulerCustomizer> customizers)
Add
taskSchedulerCustomizers that should be applied
to the ThreadPoolTaskScheduler . |
TaskSchedulerBuilder |
TaskSchedulerBuilder.additionalCustomizers(TaskSchedulerCustomizer... customizers)
Add
taskSchedulerCustomizers that should be applied
to the ThreadPoolTaskScheduler . |
TaskSchedulerBuilder |
TaskSchedulerBuilder.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.
|
TaskSchedulerBuilder |
TaskSchedulerBuilder.awaitTerminationPeriod(Duration awaitTerminationPeriod)
Set the maximum time the executor is supposed to block on shutdown.
|
TaskSchedulerBuilder |
TaskSchedulerBuilder.customizers(Iterable<TaskSchedulerCustomizer> customizers)
Set the
taskSchedulerCustomizers that should be
applied to the ThreadPoolTaskScheduler . |
TaskSchedulerBuilder |
TaskSchedulerBuilder.customizers(TaskSchedulerCustomizer... customizers)
Set the
TaskSchedulerCustomizers that should be
applied to the ThreadPoolTaskScheduler . |
TaskSchedulerBuilder |
TaskSchedulerBuilder.poolSize(int poolSize)
Set the maximum allowed number of threads.
|
TaskSchedulerBuilder |
TaskSchedulerBuilder.threadNamePrefix(String threadNamePrefix)
Set the prefix to use for the names of newly created threads.
|