Uses of Interface
io.microraft.model.message.RaftMessage
-
Packages that use RaftMessage Package Description io.microraft io.microraft.model.message io.microraft.transport -
-
Uses of RaftMessage in io.microraft
Methods in io.microraft with parameters of type RaftMessage Modifier and Type Method Description void
RaftNode. handle(RaftMessage message)
Handles the given Raft message which can be either a Raft RPC request or a response. -
Uses of RaftMessage in io.microraft.model.message
Classes in io.microraft.model.message with type parameters of type RaftMessage Modifier and Type Interface Description static interface
RaftMessage.RaftMessageBuilder<T extends RaftMessage>
The base builder interface for Raft message classesSubinterfaces of RaftMessage in io.microraft.model.message Modifier and Type Interface Description interface
AppendEntriesFailureResponse
Response for a failedAppendEntriesRequest
.interface
AppendEntriesRequest
Raft message for the AppendEntries RPC.interface
AppendEntriesSuccessResponse
Response for a successfulAppendEntriesRequest
.interface
InstallSnapshotRequest
Raft message for the InstallSnapshot RPC.interface
InstallSnapshotResponse
Response forInstallSnapshotRequest
.interface
PreVoteRequest
Raft message for the PreVoteRequest RPC.interface
PreVoteResponse
Response forPreVoteRequest
.interface
TriggerLeaderElectionRequest
Raft message for the leadership transfer logic.interface
VoteRequest
Raft message for the VoteRequest RPC.interface
VoteResponse
Response forVoteRequest
. -
Uses of RaftMessage in io.microraft.transport
Methods in io.microraft.transport with parameters of type RaftMessage Modifier and Type Method Description void
Transport. send(RaftEndpoint target, RaftMessage message)
Sends the givenRaftMessage
object to the given endpoint.
-