类的使用
cn.taketoday.scheduling.support.TaskSchedulerBuilder
使用TaskSchedulerBuilder的程序包
-
cn.taketoday.scheduling.support中TaskSchedulerBuilder的使用
修饰符和类型方法说明TaskSchedulerBuilder.additionalCustomizers(TaskSchedulerCustomizer... customizers) AddtaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.TaskSchedulerBuilder.additionalCustomizers(Iterable<TaskSchedulerCustomizer> customizers) AddtaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.TaskSchedulerBuilder.awaitTermination(boolean awaitTermination) Set whether the executor should wait for scheduled tasks to complete on shutdown, not interrupting running tasks and executing all tasks in the queue.TaskSchedulerBuilder.awaitTerminationPeriod(Duration awaitTerminationPeriod) Set the maximum time the executor is supposed to block on shutdown.TaskSchedulerBuilder.customizers(TaskSchedulerCustomizer... customizers) Set theTaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.TaskSchedulerBuilder.customizers(Iterable<TaskSchedulerCustomizer> customizers) Set thetaskSchedulerCustomizersthat should be applied to theThreadPoolTaskScheduler.TaskSchedulerBuilder.poolSize(int poolSize) Set the maximum allowed number of threads.TaskSchedulerBuilder.threadNamePrefix(String threadNamePrefix) Set the prefix to use for the names of newly created threads.