Uses of Class
org.springframework.boot.task.SimpleAsyncTaskExecutorBuilder
Package
Description
Utilities and classes related to task execution and scheduling.
-
Uses of SimpleAsyncTaskExecutorBuilder in org.springframework.boot.task
Modifier 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.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.