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 voidRaftNode. 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 interfaceRaftMessage.RaftMessageBuilder<T extends RaftMessage>The base builder interface for Raft message classesSubinterfaces of RaftMessage in io.microraft.model.message Modifier and Type Interface Description interfaceAppendEntriesFailureResponseResponse for a failedAppendEntriesRequest.interfaceAppendEntriesRequestRaft message for the AppendEntries RPC.interfaceAppendEntriesSuccessResponseResponse for a successfulAppendEntriesRequest.interfaceInstallSnapshotRequestRaft message for the InstallSnapshot RPC.interfaceInstallSnapshotResponseResponse forInstallSnapshotRequest.interfacePreVoteRequestRaft message for the PreVoteRequest RPC.interfacePreVoteResponseResponse forPreVoteRequest.interfaceTriggerLeaderElectionRequestRaft message for the leadership transfer logic.interfaceVoteRequestRaft message for the VoteRequest RPC.interfaceVoteResponseResponse forVoteRequest. -
Uses of RaftMessage in io.microraft.transport
Methods in io.microraft.transport with parameters of type RaftMessage Modifier and Type Method Description voidTransport. send(RaftEndpoint target, RaftMessage message)Sends the givenRaftMessageobject to the given endpoint.
-