Uses of Class
io.atomix.raft.protocol.AppendRequest.Builder
Packages that use AppendRequest.Builder
Package
Description
Provides
RaftRequest and RaftResponse implementations for all internal Raft protocol
communication.-
Uses of AppendRequest.Builder in io.atomix.raft.protocol
Methods in io.atomix.raft.protocol that return AppendRequest.BuilderModifier and TypeMethodDescriptionstatic AppendRequest.BuilderAppendRequest.builder()Returns a new append request builder.AppendRequest.Builder.withCommitIndex(long commitIndex) Sets the request commit index.AppendRequest.Builder.withEntries(PersistedRaftRecord... entries) Sets the request entries.AppendRequest.Builder.withEntries(List<PersistedRaftRecord> entries) Sets the request entries.AppendRequest.Builder.withLeader(MemberId leader) Sets the request leader.AppendRequest.Builder.withPrevLogIndex(long prevLogIndex) Sets the request last log index.AppendRequest.Builder.withPrevLogTerm(long prevLogTerm) Sets the request last log term.AppendRequest.Builder.withTerm(long term) Sets the request term.