Interface IntervalExecutionSchedule
- All Superinterfaces:
ExecutionSchedule
A periodic schedule, the length is specified in
getInterval()
.
Please notice that the real time between two executions may differ from the specified interval
e.g. beacause the runtime of the tasks and the setting of the parallel execution mode
conflicts with the next execution time.
- Since:
- 4.0
-
Field Summary
Fields inherited from interface de.espirit.firstspirit.access.schedule.ExecutionSchedule
DAILY, FIXED, INTERVAL, MONTHLY
-
Method Summary
Modifier and TypeMethodDescriptionlong
The interval dependentScheduleEntry
should be executed (inmilliseconds
).void
setInterval
(long value) Provide the interval the dependentScheduleEntry
should be executed (inmilliseconds
).Methods inherited from interface de.espirit.firstspirit.access.schedule.ExecutionSchedule
getNextExecutionTime, getType, setNextExecutionTime
-
Method Details
-
getInterval
long getInterval()The interval dependentScheduleEntry
should be executed (inmilliseconds
).- Since:
- 4.0
- See Also:
-
setInterval
void setInterval(long value) Provide the interval the dependentScheduleEntry
should be executed (inmilliseconds
).- Parameters:
value
- the interval dependentScheduleEntry
should be executed (inmilliseconds
).- Throws:
IllegalArgumentException
- If the specified interval is 0 or less.- Since:
- 4.0
- See Also:
-