## 类的使用
org.springframework.scheduling.concurrent.ScheduledExecutorTask

- 使用ScheduledExecutorTask的程序包
  程序包 | 说明
  --- | ---
  org.springframework.scheduling.concurrent | Scheduling convenience classes for the `java.util.concurrent` and `javax.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 specified `ScheduledExecutorTasks` on the given `ScheduledExecutorService`.
    `void` | ScheduledExecutorFactoryBean.`setScheduledExecutorTasks(ScheduledExecutorTask... scheduledExecutorTasks)` Register a list of ScheduledExecutorTask objects with the ScheduledExecutorService that this FactoryBean creates.