IntervalTask for fixed-rate semantics.
org.springframework.scheduling.annotation.Scheduled#fixedRate() , ScheduledTaskRegistrar#addFixedRateTask(IntervalTask)
| Access | Constructor and Description |
|---|---|
| public | FixedRateTask(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
Create a new FixedRateTask(Runnable, Duration, Duration)
FixedRateTask.
|
| public | FixedRateTask(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 |
| FixedRateTask | back to summary |
|---|---|
| public FixedRateTask(Runnable runnable, long interval, long initialDelay)
Create a new
| |
| FixedRateTask | back to summary |
|---|---|
| public FixedRateTask(Runnable runnable, Duration interval, Duration initialDelay) Create a new | |
| FixedRateTask | back to summary |
|---|---|
| pack-priv FixedRateTask(IntervalTask task) | |