Package org.jgroups.protocols.pbcast
Class STABLE.StableTask
- java.lang.Object
-
- org.jgroups.protocols.pbcast.STABLE.StableTask
-
- All Implemented Interfaces:
java.lang.Runnable
,TimeScheduler.Task
- Enclosing class:
- STABLE
protected class STABLE.StableTask extends java.lang.Object implements TimeScheduler.Task
Mcast periodic STABLE message. Interval between sends varies.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StableTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
nextInterval()
void
run()
java.lang.String
toString()
-
-
-
Method Detail
-
nextInterval
public long nextInterval()
- Specified by:
nextInterval
in interfaceTimeScheduler.Task
- Returns:
- the next scheduled interval in ms. If <= 0 the task will not be re-scheduled
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-