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