| Package | Description |
|---|---|
| io.atomix.copycat.server |
Standalone, feature-complete implementation of the Raft consensus algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
CopycatServer.State |
CopycatServer.state()
Returns the Copycat server state.
|
static CopycatServer.State |
CopycatServer.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CopycatServer.State[] |
CopycatServer.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Listener<CopycatServer.State> |
CopycatServer.onStateChange(Consumer<CopycatServer.State> listener)
Registers a state change listener.
|
| Modifier and Type | Method and Description |
|---|---|
Listener<CopycatServer.State> |
CopycatServer.onStateChange(Consumer<CopycatServer.State> listener)
Registers a state change listener.
|
Copyright © 2013–2016. All rights reserved.