Class ScheduledTasksEndpoint.IntervalTaskDescription
- java.lang.Object
- org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint.TaskDescription
- org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint.IntervalTaskDescription
- Direct Known Subclasses:
ScheduledTasksEndpoint.FixedDelayTaskDescription
,ScheduledTasksEndpoint.FixedRateTaskDescription
- Enclosing class:
- ScheduledTasksEndpoint
public static class ScheduledTasksEndpoint.IntervalTaskDescription extends ScheduledTasksEndpoint.TaskDescription
A description of anIntervalTask
.
Constructor Summary
Constructors Modifier Constructor Description protected
IntervalTaskDescription(org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint.TaskType type, org.springframework.scheduling.config.IntervalTask task)
protected
IntervalTaskDescription(org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint.TaskType type, org.springframework.scheduling.config.TriggerTask task, org.springframework.scheduling.support.PeriodicTrigger trigger)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getInitialDelay()
long
getInterval()
Methods inherited from class org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint.TaskDescription
getRunnable
Constructor Detail
IntervalTaskDescription
protected IntervalTaskDescription(org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint.TaskType type, org.springframework.scheduling.config.IntervalTask task)
IntervalTaskDescription
protected IntervalTaskDescription(org.springframework.boot.actuate.scheduling.ScheduledTasksEndpoint.TaskType type, org.springframework.scheduling.config.TriggerTask task, org.springframework.scheduling.support.PeriodicTrigger trigger)
Method Detail
getInitialDelay
public long getInitialDelay()
getInterval
public long getInterval()