Class OnDemandRaftState

  • Direct Known Subclasses:
    OnDemandShardState

    public class OnDemandRaftState
    extends Object
    The response to a GetOnDemandRaftState message.
    Author:
    Thomas Pantelis
    • Constructor Detail

      • OnDemandRaftState

        protected OnDemandRaftState()
    • Method Detail

      • getLastLogIndex

        public long getLastLogIndex()
      • getLastLogTerm

        public long getLastLogTerm()
      • getCurrentTerm

        public long getCurrentTerm()
      • getCommitIndex

        public long getCommitIndex()
      • getLastApplied

        public long getLastApplied()
      • getLastIndex

        public long getLastIndex()
      • getLastTerm

        public long getLastTerm()
      • getSnapshotIndex

        public long getSnapshotIndex()
      • getSnapshotTerm

        public long getSnapshotTerm()
      • getReplicatedToAllIndex

        public long getReplicatedToAllIndex()
      • getInMemoryJournalDataSize

        public long getInMemoryJournalDataSize()
      • getInMemoryJournalLogSize

        public long getInMemoryJournalLogSize()
      • getLeader

        public String getLeader()
      • getRaftState

        public String getRaftState()
      • getVotedFor

        public String getVotedFor()
      • isSnapshotCaptureInitiated

        public boolean isSnapshotCaptureInitiated()
      • isVoting

        public boolean isVoting()
      • getCustomRaftPolicyClassName

        public String getCustomRaftPolicyClassName()