Class RestoredRaftState


  • public final class RestoredRaftState
    extends Object
    Contains restored state of a RaftNode. All the fields in this class are persisted via RaftStore.
    • Method Detail

      • getLocalEndpoint

        @Nonnull
        public RaftEndpoint getLocalEndpoint()
      • isLocalEndpointVoting

        public boolean isLocalEndpointVoting()
      • getTerm

        public int getTerm()
      • getVotedMember

        @Nullable
        public RaftEndpoint getVotedMember()
      • getSnapshotEntry

        @Nullable
        public SnapshotEntry getSnapshotEntry()
      • getLogEntries

        @Nonnull
        public List<LogEntry> getLogEntries()