Uses of Class
org.jgroups.protocols.raft.RAFT
Packages that use RAFT
Package
Description
-
Uses of RAFT in org.jgroups.protocols.raft
Fields in org.jgroups.protocols.raft declared as RAFTMethods in org.jgroups.protocols.raft that return RAFTModifier and TypeMethodDescriptionRAFT.addRoleListener(RAFT.RoleChange c) protected RAFTRAFT.changeRole(Role new_role) RAFT.clearLogCache()protected RAFTRAFT.commitLogTo(long index_inclusive, boolean serialize_response) Tries to move commit_index up to index_inclusive, apply the entries in [commit_index+1 .. index_inclusive] to the state machine and notify the clients for each entry.RAFT.leader(org.jgroups.Address new_leader) RAFT.logUseFsync(boolean b) RAFT.maxLogCacheSize(int size) RAFT.maxLogSize(long val) RAFT.members(Collection<String> list) RaftImpl.raft()RAFT.remRoleListener(RAFT.RoleChange c) RAFT.resendInterval(long val) RAFT.sendCommitsImmediately(boolean v) RAFT.setLeaderAndTerm(org.jgroups.Address new_leader) RAFT.setLeaderAndTerm(org.jgroups.Address new_leader, long new_term) Sets the new leader and termRAFT.stateMachine(StateMachine sm) RAFT.stateMachineLoaded(boolean b) RAFT.synchronous(boolean b) RAFT.trimLogCache()RAFT.votedFor(org.jgroups.Address mbr) Methods in org.jgroups.protocols.raft with parameters of type RAFTModifier and TypeMethodDescriptionConstructors in org.jgroups.protocols.raft with parameters of type RAFT -
Uses of RAFT in org.jgroups.protocols.raft.election
Fields in org.jgroups.protocols.raft.election declared as RAFTMethods in org.jgroups.protocols.raft.election that return RAFTMethods in org.jgroups.protocols.raft.election with parameters of type RAFT -
Uses of RAFT in org.jgroups.protocols.raft.state
Constructors in org.jgroups.protocols.raft.state with parameters of type RAFT -
Uses of RAFT in org.jgroups.raft
Fields in org.jgroups.raft declared as RAFTMethods in org.jgroups.raft that return RAFT -
Uses of RAFT in org.jgroups.raft.testfwk
Fields in org.jgroups.raft.testfwk declared as RAFTMethods in org.jgroups.raft.testfwk that return RAFTModifier and TypeMethodDescriptionRaftNode.raft()static RAFTRaftTestUtils.raft(org.jgroups.JChannel ch) Retrieves theRAFTprotocol from the providedJChannel.Methods in org.jgroups.raft.testfwk with parameters of type RAFTModifier and TypeMethodDescriptionstatic voidRaftTestUtils.deleteRaftLog(RAFT r) Deletes all the replicated data and internal state for the givenRAFTinstance.Constructors in org.jgroups.raft.testfwk with parameters of type RAFT -
Uses of RAFT in org.jgroups.raft.util
Methods in org.jgroups.raft.util with parameters of type RAFTModifier and TypeMethodDescriptionstatic Utils.MajorityUtils.computeMajority(org.jgroups.View oldView, org.jgroups.View newView, RAFT raft) static voidDeprecated, for removal: This API element is subject to removal in a future version.
RaftTestUtils.deleteRaftLog(RAFT)instead.