Package org.jgroups.util
Interface TimeScheduler.Task
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
DefaultRetransmitter.SeqnoTask,RangeBasedRetransmitter.RangeTask,Retransmitter.Task
- Enclosing interface:
TimeScheduler
The interface that dynamic tasks
(
TimeScheduler.scheduleWithDynamicInterval(org.jgroups.util.TimeScheduler.Task)) must implement-
Method Summary
-
Method Details
-
nextInterval
long nextInterval()- Returns:
- the next scheduled interval. If invalid input: '<'= 0 the task will not be re-scheduled
-