All Classes and Interfaces
Class
Description
Used to send AppendEntries messages to cluster members.
The result of an AppendEntries request
It's a growable ring buffer that allows to move tail/head sequences, clear, append, set/replace at specific positions.
RAFT Implementation of
AsyncCounter.Protocol listening on a socket for client requests.
Keeps track of next_index and match_index for each cluster member (excluding this leader).
Provides a consensus based distributed counter (similar to AtomicLong) which can be atomically updated across a cluster.
Sample state machine accepting additions and subtractions
Defines the contract to add and remove servers (RAFT.members).
The default leader election algorithm.
A leader election protocol.
A
Log implementation stored in a file.Implements the behavior of a RAFT follower
An in-memory
Log implementation without any persistence.Internal command to be added to the log, e.g. adding or removing a server
Implements the behavior of a RAFT leader
Implements the behavior of a learner node.
Deprecated, for removal: This API element is subject to removal in a future version.
The interface for a persistent log.
Bounded caching
Log facade.List of
LogEntry elements, 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.
Options to pass to
Settable.setAsync(byte[], int, int) callResponsible for a node's internal state.
Iterates over all concrete Protocol classes and creates tables with Protocol's properties.
Implementation of the RAFT consensus protocol in JGroups
Generated by
Settable.setAsync(byte[], int, int)Received by up(Message) or up(MessageBatch)
TODO!
TODO!
Main interaction point for applications with jgroups-raft.
Base class for the different roles a RAFT node can have (follower, candidate, leader)
TODO!
Repository for read-only operations.
Protocol that redirects RAFT commands from clients to the actual RAFT leader.
A key-value store replicating its contents with RAFT via consensus
Dummy replicated hashmap state machine
Keeps track of
AppendEntriesRequest messages and responses.Interface to make changes to the Raft state machine.
Interface of a state machine which stores data in memory.
FileBasedLog.