|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConsensusLog
Method Summary | |
---|---|
java.lang.String |
getConsensusID()
Returns the unique consensus id for this consensus |
java.lang.String |
getInitiatorId()
Returns the ID of the initiator of this consensus |
java.lang.String |
getLastCommonRandom()
Returns the round number (i.e. |
boolean |
isAgreed()
Indicates if this consensus log is agreed upon |
boolean |
isComitted()
Indicates if this consensus log is commited (i.e. |
boolean |
isRejected()
Indicates if this log has been rejected because it used a wrong round id (i.e. |
void |
setAgreed(boolean a_agreed)
Sets the value of m_agreed |
void |
setComitted(boolean a_comitted)
Sets the log to status "commited" or "not commited" |
void |
stopTimeout()
Stop the time out and close the log entry. |
Methods inherited from interface infoservice.agreement.common.TimeoutListener |
---|
timeout |
Method Detail |
---|
boolean isAgreed()
true
if an agreement has been reached,
false
otherwisevoid setAgreed(boolean a_agreed)
a_agreed
- The new valueboolean isComitted()
true
if the log is commited, false
otherwisevoid setComitted(boolean a_comitted)
a_comitted
- The new statusvoid stopTimeout()
java.lang.String getInitiatorId()
java.lang.String getConsensusID()
boolean isRejected()
java.lang.String getLastCommonRandom()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |