Package org.jgroups.protocols.raft
package org.jgroups.protocols.raft
-
ClassDescriptionUsed to send AppendEntries messages to cluster members.The result of an AppendEntries requestProtocol listening on a socket for client requests.Defines the contract to add and remove servers (RAFT.members).The default leader election algorithm.A leader election protocol.A
Logimplementation stored in a file.Implements the behavior of a RAFT followerAn in-memoryLogimplementation without any persistence.Internal command to be added to the log, e.g. adding or removing a serverImplements the behavior of a RAFT leaderImplements the behavior of a learner node.Durable storage for Raft consensus log entries, election metadata (term and vote), and state machine snapshots.Controls the log entry cache that sits between the Raft protocol and the underlying persistent log.Marker interface for optional capabilities that aLogimplementation may provide.List ofLogEntryelements, provides efficient serialization.An element in a log.Intercepts JOIN and MERGE requests on the coordinator and rejects members whose addition would lead to members with duplicate raft-ids in the view.Responsible for a node's internal state.Implementation of the RAFT consensus protocol in JGroupsBase class for the different roles a RAFT node can have (follower, candidate, leader)Unchecked exception thrown byRaftLogAdapterafter the log has been poisoned due to an unrecoverable storage failure.Protocol that redirects RAFT commands from clients to the actual RAFT leader.A log capability that allows snapshot creation in two phases: staging and committing.