- java.lang.Object
-
- org.jgroups.util.Metronome
-
-
Constructor Summary
Constructors
Constructor and Description |
Metronome(int interval) |
-
Method Summary
Methods
Modifier and Type |
Method and Description |
void |
add(java.lang.Thread... thread) |
int |
getTick() |
void |
remove(java.lang.Thread thread) |
void |
run() |
void |
stop() |
void |
waitFor(int tick) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTick
public int getTick()
-
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
Copyright © 1998-2009 Bela Ban / Red Hat. All Rights Reserved.