Class FixedDelayTask
java.lang.Object
org.springframework.scheduling.config.Task
org.springframework.scheduling.config.DelayedTask
org.springframework.scheduling.config.IntervalTask
org.springframework.scheduling.config.FixedDelayTask
Specialization of 
IntervalTask for fixed-delay semantics.- Since:
 - 5.0.2
 - Author:
 - Juergen Hoeller, Arjen Poutsma
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionFixedDelayTask(Runnable runnable, long interval, long initialDelay) Deprecated.FixedDelayTask(Runnable runnable, Duration interval, Duration initialDelay) Create a newFixedDelayTask. - 
Method Summary
Methods inherited from class org.springframework.scheduling.config.IntervalTask
getInitialDelay, getInitialDelayDuration, getInterval, getIntervalDurationMethods inherited from class org.springframework.scheduling.config.Task
getRunnable, toString 
- 
Constructor Details
- 
FixedDelayTask
Deprecated.as of 6.0, in favor onFixedDelayTask(Runnable, Duration, Duration)Create a newFixedDelayTask.- Parameters:
 runnable- the underlying task to executeinterval- how often in milliseconds the task should be executedinitialDelay- the initial delay before first execution of the task
 - 
FixedDelayTask
Create a newFixedDelayTask.- Parameters:
 runnable- the underlying task to executeinterval- how often the task should be executedinitialDelay- the initial delay before first execution of the task- Since:
 - 6.0
 
 
 - 
 
FixedDelayTask(Runnable, Duration, Duration)