| Package | Description |
|---|---|
| io.atomix.protocols.raft.proxy |
Facilitates modification of a Raft state machine via proxy.
|
| Modifier and Type | Method and Description |
|---|---|
RaftProxy.State |
RaftProxyExecutor.getState()
Returns the session state.
|
static RaftProxy.State |
RaftProxy.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RaftProxy.State[] |
RaftProxy.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RaftProxyExecutor.addStateChangeListener(Consumer<RaftProxy.State> listener)
Registers a session state change listener.
|
void |
RaftProxyExecutor.removeStateChangeListener(Consumer<RaftProxy.State> listener)
Removes a state change listener.
|
Copyright © 2013–2017. All rights reserved.