接口的使用
org.springframework.boot.task.ThreadPoolTaskSchedulerCustomizer
程序包
说明
Utilities and classes related to task execution and scheduling.
-
org.springframework.boot.task中ThreadPoolTaskSchedulerCustomizer的使用
修饰符和类型方法说明ThreadPoolTaskSchedulerBuilder.additionalCustomizers(ThreadPoolTaskSchedulerCustomizer... customizers) AddthreadPoolTaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.ThreadPoolTaskSchedulerBuilder.customizers(ThreadPoolTaskSchedulerCustomizer... customizers) Set thethreadPoolTaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.修饰符和类型方法说明ThreadPoolTaskSchedulerBuilder.additionalCustomizers(Iterable<? extends ThreadPoolTaskSchedulerCustomizer> customizers) AddthreadPoolTaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.ThreadPoolTaskSchedulerBuilder.customizers(Iterable<? extends ThreadPoolTaskSchedulerCustomizer> customizers) Set thethreadPoolTaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.限定符构造器说明ThreadPoolTaskSchedulerBuilder(Integer poolSize, Boolean awaitTermination, Duration awaitTerminationPeriod, String threadNamePrefix, Set<ThreadPoolTaskSchedulerCustomizer> taskSchedulerCustomizers)