org.springframework.scheduling.config

## 类 FixedDelayTask

- java.lang.Object
- - org.springframework.scheduling.config.Task
  - - org.springframework.scheduling.config.IntervalTask
    - - org.springframework.scheduling.config.FixedDelayTask

-     public class FixedDelayTask
      extends IntervalTask

  Specialization of `IntervalTask` for fixed-delay semantics.
  从以下版本开始:
    5.0.2
  作者:
    Juergen Hoeller
  另请参阅:
    `Scheduled.fixedDelay()`, `ScheduledTaskRegistrar.addFixedDelayTask(IntervalTask)`

- - ### 构造器概要

    构造器
    构造器和说明
    `FixedDelayTask(Runnable runnable, long interval, long initialDelay)` Create a new `FixedDelayTask`.

  - ### 方法概要

    - ### 从类继承的方法 org.springframework.scheduling.config.IntervalTask

      `getInitialDelay, getInterval`

    - ### 从类继承的方法 org.springframework.scheduling.config.Task

      `getRunnable, toString`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### FixedDelayTask

          public FixedDelayTask(Runnable runnable,
                                long interval,
                                long initialDelay)

      Create a new `FixedDelayTask`.
      参数:
        `runnable` - the underlying task to execute
        `interval` - how often in milliseconds the task should be executed
        `initialDelay` - the initial delay before first execution of the task