|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universal.consensus.Consensus
For each position in the total order the serverInterceptor instantiates a new Consensus. And then for each roundno it calls the method propose of this class.
Field Summary | |
int |
L
The position in the total order for which this object consensus has been created |
java.lang.Integer |
Li
The same than L |
universal.consensus.register.Registry |
registry
The object in which we are going to register the Outcome value (Request,Reply,Update) that has been decided for this position in the total order and also the last time it has read and write for this position. |
universal.Universal |
univ
The object Universal the consensus is linked to |
Constructor Summary | |
Consensus()
|
|
Consensus(universal.Universal uni,
int L)
Initialize the value L and uni. |
Method Summary | |
universal.Decision |
propose(int l,
universal.Outcome prop)
The leader propose the request, reply an update that it thinks should be for this position in the total order. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public universal.Universal univ
public int L
public java.lang.Integer Li
public universal.consensus.register.Registry registry
Constructor Detail |
public Consensus()
public Consensus(universal.Universal uni, int L)
Method Detail |
public universal.Decision propose(int l, universal.Outcome prop)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |