org.jgroups.util
Interface TimeScheduler.Task

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
DefaultRetransmitter.SeqnoTask, MERGE3.InfoSender, MERGE3.ViewConsistencyChecker, RangeBasedRetransmitter.RangeTask, Retransmitter.Task
Enclosing interface:
TimeScheduler

public static interface TimeScheduler.Task
extends java.lang.Runnable

The interface that dynamic tasks (TimeScheduler.scheduleWithDynamicInterval(org.jgroups.util.TimeScheduler.Task)) must implement


Method Summary
 long nextInterval()
           
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

nextInterval

long nextInterval()
Returns:
the next scheduled interval in ms. If <= 0 the task will not be re-scheduled


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.