public class VectorClock
extends java.lang.Object
| Constructor and Description |
|---|
VectorClock() |
VectorClock(java.util.Vector<java.lang.Integer> ids) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClock(int id,
int clock) |
int |
getClock(int id) |
int |
getMinClock() |
int |
tick(int id) |
int |
tickUntil(int id,
int clock) |