V - the type of value returned upon completion of the taskpublic interface ScheduleNextTaskPolicy<V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldScheduleNext(ScheduledTask<? extends V> latest)
Determines whether a given task definition should be invoked again.
|
boolean shouldScheduleNext(ScheduledTask<? extends V> latest)
latest - the most recently completed invocationtrue if the task should be invoked again; false otherwise