Uses of Interface
io.microraft.Ordered
Packages that use Ordered
-
Uses of Ordered in io.microraft
Methods in io.microraft that return types with arguments of type OrderedModifier and TypeMethodDescriptionRaftNode.changeMembership
(RaftEndpoint endpoint, MembershipChangeMode mode, long expectedGroupMembersCommitIndex) 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.RaftNode.getReport()
Returns a report object that contains information about this Raft node's local state related to the execution of the Raft consensus algorithm.<T> CompletableFuture<Ordered<T>>
RaftNode.query
(Object operation, QueryPolicy queryPolicy, long minCommitIndex) Executes the given query operation based on the given query policy.<T> CompletableFuture<Ordered<T>>
Replicates, commits, and executes the given operation via this Raft node.RaftNode.start()
Triggers this Raft node to start executing the Raft consensus algorithm.RaftNode.takeSnapshot()
Takes a new snapshot at the local RaftNode at the current commit index.RaftNode.terminate()
Forcefully sets the status of this Raft node toRaftNodeStatus.TERMINATED
and makes the Raft node stops executing the Raft consensus algorithm.RaftNode.transferLeadership
(RaftEndpoint endpoint) Transfers the leadership role to the given endpoint, if this Raft node is the current Raft group leader with theRaftNodeStatus.ACTIVE
status and the given endpoint is in the committed member list of the Raft group.