类的使用
org.springframework.boot.task.SimpleAsyncTaskSchedulerBuilder
程序包
说明
Auto-configuration for Spring Integration.
Utilities and classes related to task execution and scheduling.
-
org.springframework.boot.autoconfigure.integration中SimpleAsyncTaskSchedulerBuilder的使用
修饰符和类型方法说明IntegrationAutoConfiguration.IntegrationTaskSchedulerConfiguration.taskSchedulerVirtualThreads
(SimpleAsyncTaskSchedulerBuilder simpleAsyncTaskSchedulerBuilder) -
org.springframework.boot.task中SimpleAsyncTaskSchedulerBuilder的使用
修饰符和类型方法说明SimpleAsyncTaskSchedulerBuilder.additionalCustomizers
(Iterable<? extends SimpleAsyncTaskSchedulerCustomizer> customizers) Addcustomizers
that should be applied to theSimpleAsyncTaskScheduler
.SimpleAsyncTaskSchedulerBuilder.additionalCustomizers
(SimpleAsyncTaskSchedulerCustomizer... customizers) Addcustomizers
that should be applied to theSimpleAsyncTaskScheduler
.SimpleAsyncTaskSchedulerBuilder.concurrencyLimit
(Integer concurrencyLimit) Set the concurrency limit.SimpleAsyncTaskSchedulerBuilder.customizers
(Iterable<? extends SimpleAsyncTaskSchedulerCustomizer> customizers) Set thecustomizers
that should be applied to theSimpleAsyncTaskScheduler
.SimpleAsyncTaskSchedulerBuilder.customizers
(SimpleAsyncTaskSchedulerCustomizer... customizers) Set thecustomizers
that should be applied to theSimpleAsyncTaskScheduler
.SimpleAsyncTaskSchedulerBuilder.taskDecorator
(TaskDecorator taskDecorator) Set the task decorator to be used by theSimpleAsyncTaskScheduler
.SimpleAsyncTaskSchedulerBuilder.taskTerminationTimeout
(Duration taskTerminationTimeout) Set the task termination timeout.SimpleAsyncTaskSchedulerBuilder.threadNamePrefix
(String threadNamePrefix) Set the prefix to use for the names of newly created threads.SimpleAsyncTaskSchedulerBuilder.virtualThreads
(Boolean virtualThreads) Set whether to use virtual threads.