public interface IntervalGenerator extends Initializable
| Modifier and Type | Method and Description |
|---|---|
Interval |
getFirstInterval()
This method is invoked only once to obtain the first interval.
|
getDependenciesInterval getFirstInterval()
callback will be invoked
with the result of the action. The return of the callback will be used as the next interval.
If this method throws an exception or returns null the task instance will halted and put into an error
state.
Interval with the time interval until the next action should be performed and callback to invoke