public abstract class AbstractRole extends Object implements RaftRole
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
close() |
boolean |
isClosed() |
boolean |
isOpen() |
CompletableFuture<RaftRole> |
open() |
abstract RaftServer.Role |
role()
Returns the Raft state represented by this state.
|
String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitonAppend, onCloseSession, onCommand, onConfigure, onInstall, onJoin, onKeepAlive, onLeave, onMetadata, onOpenSession, onPoll, onQuery, onReconfigure, onTransfer, onVotepublic abstract RaftServer.Role role()
public CompletableFuture<RaftRole> open()
open in interface io.atomix.utils.Managed<RaftRole>public boolean isOpen()
isOpen in interface io.atomix.utils.Managed<RaftRole>public CompletableFuture<Void> close()
close in interface io.atomix.utils.Managed<RaftRole>public boolean isClosed()
isClosed in interface io.atomix.utils.Managed<RaftRole>Copyright © 2013–2017. All rights reserved.