Class CommitTable.Entry

java.lang.Object
org.jgroups.raft.util.CommitTable.Entry
Enclosing class:
CommitTable

public static class CommitTable.Entry extends Object
  • 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

      public CommitTable.Entry commitIndex(long idx)
    • matchIndex

      public long matchIndex()
    • matchIndex

      public CommitTable.Entry matchIndex(long idx)
    • nextIndex

      public long nextIndex()
    • nextIndex

      public CommitTable.Entry nextIndex(long idx)
    • sendSingleMessage

      public boolean sendSingleMessage()
    • sendSingleMessage

      public CommitTable.Entry sendSingleMessage(boolean flag)
    • assertInvariant

      public void assertInvariant()
    • toString

      public String toString()
      Overrides:
      toString in class Object