Package io.atomix.raft.roles
Class PromotableRole
java.lang.Object
io.atomix.raft.roles.AbstractRole
io.atomix.raft.roles.InactiveRole
io.atomix.raft.roles.PassiveRole
io.atomix.raft.roles.PromotableRole
Promotable role.
-
Field Summary
Fields inherited from class io.atomix.raft.roles.AbstractRole
log, raft -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.atomix.raft.roles.PassiveRole
appendEntries, checkPreviousEntry, checkTerm, completeAppend, failAppend, handleAppend, onAppend, onInstall, onPoll, onReconfigure, onVote, start, stop, succeedAppendMethods inherited from class io.atomix.raft.roles.InactiveRole
onConfigure, onTransferMethods inherited from class io.atomix.raft.roles.AbstractRole
forward, isRunning, logRequest, logResponse, toString, updateTermAndLeader
-
Constructor Details
-
PromotableRole
-
-
Method Details
-
role
Description copied from class:AbstractRoleReturns the Raft state represented by this state.- Specified by:
rolein interfaceRaftRole- Overrides:
rolein classPassiveRole- Returns:
- The Raft state represented by this state.
-