|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--CompSwapConsensus
Constructor Summary | |
CompSwapConsensus(int n)
|
Method Summary | |
int |
decide(int pid)
|
void |
propose(int pid,
int v)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompSwapConsensus(int n)
Method Detail |
public void propose(int pid, int v)
propose
in interface Consensus
public int decide(int pid)
decide
in interface Consensus
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |