## 类的使用
org.springframework.scheduling.config.ScheduledTask

- 使用ScheduledTask的程序包
  程序包 | 说明
  --- | ---
  org.springframework.scheduling.annotation | Java 5 annotation for asynchronous method execution.
  org.springframework.scheduling.config | Support package for declarative scheduling configuration, with XML schema being the primary configuration format.

- - ### org.springframework.scheduling.annotation中ScheduledTask的使用

    返回变量类型为ScheduledTask的类型的org.springframework.scheduling.annotation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Set<ScheduledTask>` | ScheduledAnnotationBeanPostProcessor.`getScheduledTasks()` Return all currently scheduled tasks, from `Scheduled` methods as well as from programmatic `SchedulingConfigurer` interaction.

  - ### org.springframework.scheduling.config中ScheduledTask的使用

    返回ScheduledTask的org.springframework.scheduling.config中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleCronTask(CronTask task)` Schedule the specified cron task, either right away if possible or on initialization of the scheduler.
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleFixedDelayTask(FixedDelayTask task)` Schedule the specified fixed-delay task, either right away if possible or on initialization of the scheduler.
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleFixedDelayTask(IntervalTask task)` 已过时。 as of 5.0.2, in favor of `ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask)`
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleFixedRateTask(FixedRateTask task)` Schedule the specified fixed-rate task, either right away if possible or on initialization of the scheduler.
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleFixedRateTask(IntervalTask task)` 已过时。 as of 5.0.2, in favor of `ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask)`
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleTriggerTask(TriggerTask task)` Schedule the specified trigger task, either right away if possible or on initialization of the scheduler.

    返回变量类型为ScheduledTask的类型的org.springframework.scheduling.config中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Set<ScheduledTask>` | ScheduledTaskHolder.`getScheduledTasks()` Return an overview of the tasks that have been scheduled by this instance.
    `Set<ScheduledTask>` | ScheduledTaskRegistrar.`getScheduledTasks()` Return all locally registered tasks that have been scheduled by this registrar.