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

- 使用IntervalTask的程序包
  程序包 | 说明
  --- | ---
  org.springframework.scheduling.config | Support package for declarative scheduling configuration, with XML schema being the primary configuration format.

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

    org.springframework.scheduling.config中IntervalTask的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `FixedDelayTask` Specialization of `IntervalTask` for fixed-delay semantics.
    `class` | `FixedRateTask` Specialization of `IntervalTask` for fixed-rate semantics.

    返回变量类型为IntervalTask的类型的org.springframework.scheduling.config中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<IntervalTask>` | ScheduledTaskRegistrar.`getFixedDelayTaskList()` Get the fixed-delay tasks as an unmodifiable list of `IntervalTask` objects.
    `List<IntervalTask>` | ScheduledTaskRegistrar.`getFixedRateTaskList()` Get the fixed-rate tasks as an unmodifiable list of `IntervalTask` objects.

    参数类型为IntervalTask的org.springframework.scheduling.config中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | ScheduledTaskRegistrar.`addFixedDelayTask(IntervalTask task)` Add a fixed-delay `IntervalTask`.
    `void` | ScheduledTaskRegistrar.`addFixedRateTask(IntervalTask task)` Add a fixed-rate `IntervalTask`.
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleFixedDelayTask(IntervalTask task)` 已过时。 as of 5.0.2, in favor of `ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask)`
    `ScheduledTask` | ScheduledTaskRegistrar.`scheduleFixedRateTask(IntervalTask task)` 已过时。 as of 5.0.2, in favor of `ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask)`

    类型变量类型为IntervalTask的org.springframework.scheduling.config中的方法参数
    限定符和类型 | 方法和说明
    --- | ---
    `void` | ScheduledTaskRegistrar.`setFixedDelayTasksList(List<IntervalTask> fixedDelayTasks)` Specify fixed-delay tasks as a list of `IntervalTask` objects.
    `void` | ScheduledTaskRegistrar.`setFixedRateTasksList(List<IntervalTask> fixedRateTasks)` Specify fixed-rate tasks as a list of `IntervalTask` objects.