Uses of Class
org.springframework.boot.task.SimpleAsyncTaskExecutorBuilder
Packages that use SimpleAsyncTaskExecutorBuilder
Package
Description
Utilities and classes related to task execution and scheduling.
-
Uses of SimpleAsyncTaskExecutorBuilder in org.springframework.boot.task
Methods in org.springframework.boot.task that return SimpleAsyncTaskExecutorBuilderModifier and TypeMethodDescriptionSimpleAsyncTaskExecutorBuilder.additionalCustomizers
(Iterable<? extends SimpleAsyncTaskExecutorCustomizer> customizers) Addcustomizers
that should be applied to theSimpleAsyncTaskExecutor
.SimpleAsyncTaskExecutorBuilder.additionalCustomizers
(SimpleAsyncTaskExecutorCustomizer... customizers) Addcustomizers
that should be applied to theSimpleAsyncTaskExecutor
.SimpleAsyncTaskExecutorBuilder.concurrencyLimit
(Integer concurrencyLimit) Set the concurrency limit.SimpleAsyncTaskExecutorBuilder.customizers
(Iterable<? extends SimpleAsyncTaskExecutorCustomizer> customizers) Set thecustomizers
that should be applied to theSimpleAsyncTaskExecutor
.SimpleAsyncTaskExecutorBuilder.customizers
(SimpleAsyncTaskExecutorCustomizer... customizers) Set thecustomizers
that should be applied to theSimpleAsyncTaskExecutor
.SimpleAsyncTaskExecutorBuilder.rejectTasksWhenLimitReached
(boolean rejectTasksWhenLimitReached) Set whether to reject tasks when the concurrency limit has been reached.SimpleAsyncTaskExecutorBuilder.taskDecorator
(TaskDecorator taskDecorator) Set theTaskDecorator
to use ornull
to not use any.SimpleAsyncTaskExecutorBuilder.taskTerminationTimeout
(Duration taskTerminationTimeout) Set the task termination timeout.SimpleAsyncTaskExecutorBuilder.threadNamePrefix
(String threadNamePrefix) Set the prefix to use for the names of newly created threads.SimpleAsyncTaskExecutorBuilder.virtualThreads
(Boolean virtualThreads) Set whether to use virtual threads.