类的使用
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) Addcustomizersthat should be applied to theSimpleAsyncTaskScheduler.SimpleAsyncTaskSchedulerBuilder.additionalCustomizers(SimpleAsyncTaskSchedulerCustomizer... customizers) Addcustomizersthat should be applied to theSimpleAsyncTaskScheduler.SimpleAsyncTaskSchedulerBuilder.concurrencyLimit(Integer concurrencyLimit) Set the concurrency limit.SimpleAsyncTaskSchedulerBuilder.customizers(Iterable<? extends SimpleAsyncTaskSchedulerCustomizer> customizers) Set thecustomizersthat should be applied to theSimpleAsyncTaskScheduler.SimpleAsyncTaskSchedulerBuilder.customizers(SimpleAsyncTaskSchedulerCustomizer... customizers) Set thecustomizersthat should be applied to 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.