Class DelayedTask
java.lang.Object
org.springframework.scheduling.config.Task
org.springframework.scheduling.config.DelayedTask
- Direct Known Subclasses:
 IntervalTask,OneTimeTask
- 
Constructor Summary
ConstructorsConstructorDescriptionDelayedTask(Runnable runnable, Duration initialDelay) Create a newDelayedTask. - 
Method Summary
Modifier and TypeMethodDescriptionReturn the initial delay before first execution of the task.Methods inherited from class org.springframework.scheduling.config.Task
getLastExecutionOutcome, getRunnable, toString 
- 
Constructor Details
- 
DelayedTask
 
 - 
 - 
Method Details
- 
getInitialDelayDuration
Return the initial delay before first execution of the task. 
 -