IntervalTask for fixed-delay semantics.
org.springframework.scheduling.annotation.Scheduled#fixedDelay() , ScheduledTaskRegistrar#addFixedDelayTask(IntervalTask)
| Access | Constructor and Description |
|---|---|
| public | FixedDelayTask(Runnable
the underlying task to execute runnable, long how often in milliseconds the task should be executed interval, long the initial delay before first execution of the task initialDelay)
Deprecated
since 6.0. as of 6.0, in favor on
FixedDelayTask(Runnable, Duration, Duration)
Create a new |
| public | FixedDelayTask(Runnable
the underlying task to execute runnable, Duration how often the task should be executed interval, Duration the initial delay before first execution of the task initialDelay)Create a new |
| pack-priv |
| FixedDelayTask | back to summary |
|---|---|
| public FixedDelayTask(Runnable runnable, long interval, long initialDelay)
Create a new
| |
| FixedDelayTask | back to summary |
|---|---|
| public FixedDelayTask(Runnable runnable, Duration interval, Duration initialDelay) Create a new | |
| FixedDelayTask | back to summary |
|---|---|
| pack-priv FixedDelayTask(IntervalTask task) | |