public class PromotableRole extends PassiveRole
| Constructor and Description |
|---|
PromotableRole(io.atomix.protocols.raft.impl.RaftContext context) |
| Modifier and Type | Method and Description |
|---|---|
RaftServer.Role |
role()
Returns the Raft state represented by this state.
|
close, onAppend, onCloseSession, onCommand, onInstall, onJoin, onKeepAlive, onLeave, onMetadata, onOpenSession, onPoll, onQuery, onReconfigure, onVote, openonConfigure, onTransferisClosed, isOpen, toStringpublic PromotableRole(io.atomix.protocols.raft.impl.RaftContext context)
public RaftServer.Role role()
AbstractRolerole in interface RaftRolerole in class PassiveRoleCopyright © 2013–2017. All rights reserved.