接口的使用
org.springframework.boot.task.ThreadPoolTaskSchedulerCustomizer
程序包
说明
Utilities and classes related to task execution and scheduling.
-
org.springframework.boot.task中ThreadPoolTaskSchedulerCustomizer的使用
修饰符和类型方法说明ThreadPoolTaskSchedulerBuilder.additionalCustomizers
(ThreadPoolTaskSchedulerCustomizer... customizers) AddthreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.ThreadPoolTaskSchedulerBuilder.customizers
(ThreadPoolTaskSchedulerCustomizer... customizers) Set thethreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.修饰符和类型方法说明ThreadPoolTaskSchedulerBuilder.additionalCustomizers
(Iterable<? extends ThreadPoolTaskSchedulerCustomizer> customizers) AddthreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.ThreadPoolTaskSchedulerBuilder.customizers
(Iterable<? extends ThreadPoolTaskSchedulerCustomizer> customizers) Set thethreadPoolTaskSchedulerCustomizers
that should be applied to theThreadPoolTaskScheduler
.限定符构造器说明ThreadPoolTaskSchedulerBuilder
(Integer poolSize, Boolean awaitTermination, Duration awaitTerminationPeriod, String threadNamePrefix, Set<ThreadPoolTaskSchedulerCustomizer> taskSchedulerCustomizers) 已过时, 待删除: 此 API 元素将从以后的版本中删除。since 3.5.0 for removal in 4.0.0 in favor of the default constructor