类的使用
org.springframework.scheduling.concurrent.ScheduledExecutorTask
使用ScheduledExecutorTask的程序包 程序包 说明 org.springframework.scheduling.concurrent Scheduling convenience classes for thejava.util.concurrent
andjavax.enterprise.concurrent
packages, allowing to set up a ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring context.org.springframework.scheduling.concurrent中ScheduledExecutorTask的使用
参数类型为ScheduledExecutorTask的org.springframework.scheduling.concurrent中的方法 修饰符和类型 方法 说明 protected Runnable
ScheduledExecutorFactoryBean. getRunnableToSchedule(ScheduledExecutorTask task)
Determine the actual Runnable to schedule for the given task.protected void
ScheduledExecutorFactoryBean. registerTasks(ScheduledExecutorTask[] tasks, ScheduledExecutorService executor)
Register the specifiedScheduledExecutorTasks
on the givenScheduledExecutorService
.void
ScheduledExecutorFactoryBean. setScheduledExecutorTasks(ScheduledExecutorTask... scheduledExecutorTasks)
Register a list of ScheduledExecutorTask objects with the ScheduledExecutorService that this FactoryBean creates.