java.lang.Object
org.jgroups.raft.util.CommitTable.Entry
- Enclosing class:
CommitTable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected longprotected longprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongcommitIndex(long idx) longmatchIndex(long idx) longnextIndex(long idx) booleansendSingleMessage(boolean flag) toString()
-
Field Details
-
commit_index
protected long commit_index -
match_index
protected long match_index -
next_index
protected long next_index -
send_single_msg
protected boolean send_single_msg
-
-
Constructor Details
-
Entry
public Entry(long next_index)
-
-
Method Details
-
commitIndex
public long commitIndex() -
commitIndex
-
matchIndex
public long matchIndex() -
matchIndex
-
nextIndex
public long nextIndex() -
nextIndex
-
sendSingleMessage
public boolean sendSingleMessage() -
sendSingleMessage
-
assertInvariant
public void assertInvariant() -
toString
-