-
Replicates and commits the given membership change to the Raft group, if the
given group members commit index is equal to the current group members commit
index in the local Raft state.
Returns a report object that contains information about this Raft node's
local state related to the execution of the Raft consensus algorithm.
Executes the given query with the given query policy.
Replicates, commits, and executes the given operation via this Raft node.
Triggers this Raft node to start executing the Raft consensus algorithm.
Takes a new snapshot at the local RaftNode at the current commit index.
Forcefully sets the status of this Raft node to
RaftNodeStatus.TERMINATED
and makes the Raft node stops executing the
Raft consensus algorithm.
Transfers the leadership role to the given endpoint, if this Raft node is the
current Raft group leader with the
RaftNodeStatus.ACTIVE
status and
the given endpoint is in the committed member list of the Raft group.
The returned future is completed when the Raft node's last applied log index
becomes greater than or equal to the given commit index.