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) Addcustomizersthat should be applied to theSimpleAsyncTaskExecutor.SimpleAsyncTaskExecutorBuilder.additionalCustomizers(SimpleAsyncTaskExecutorCustomizer... customizers) Addcustomizersthat should be applied to theSimpleAsyncTaskExecutor.SimpleAsyncTaskExecutorBuilder.cancelRemainingTasksOnClose(boolean cancelRemainingTasksOnClose) Set whether to cancel remaining tasks on close.SimpleAsyncTaskExecutorBuilder.concurrencyLimit(@Nullable Integer concurrencyLimit) Set the concurrency limit.SimpleAsyncTaskExecutorBuilder.customizers(Iterable<? extends SimpleAsyncTaskExecutorCustomizer> customizers) Set thecustomizersthat should be applied to theSimpleAsyncTaskExecutor.SimpleAsyncTaskExecutorBuilder.customizers(SimpleAsyncTaskExecutorCustomizer... customizers) Set thecustomizersthat should be applied to theSimpleAsyncTaskExecutor.SimpleAsyncTaskExecutorBuilder.rejectTasksWhenLimitReached(boolean rejectTasksWhenLimitReached) Set whether to reject tasks when the concurrency limit has been reached.SimpleAsyncTaskExecutorBuilder.taskDecorator(@Nullable TaskDecorator taskDecorator) Set theTaskDecoratorto use ornullto not use any.SimpleAsyncTaskExecutorBuilder.taskTerminationTimeout(@Nullable Duration taskTerminationTimeout) Set the task termination timeout.SimpleAsyncTaskExecutorBuilder.threadNamePrefix(@Nullable String threadNamePrefix) Set the prefix to use for the names of newly created threads.SimpleAsyncTaskExecutorBuilder.virtualThreads(@Nullable Boolean virtualThreads) Set whether to use virtual threads.