| Package | Description |
|---|---|
| io.atomix.protocols.raft |
Provides classes and interfaces for managing Raft clients and servers.
|
| io.atomix.protocols.raft.session |
Provides a
Session implementation for the Raft consensus protocol. |
| Modifier and Type | Method and Description |
|---|---|
CommunicationStrategy |
MultiRaftProtocolConfig.getCommunicationStrategy()
Returns the client communication strategy.
|
| Modifier and Type | Method and Description |
|---|---|
MultiRaftProtocolConfig |
MultiRaftProtocolConfig.setCommunicationStrategy(CommunicationStrategy communicationStrategy)
Sets the client communication strategy.
|
MultiRaftProtocolBuilder |
MultiRaftProtocolBuilder.withCommunicationStrategy(CommunicationStrategy communicationStrategy)
Sets the communication strategy.
|
| Modifier and Type | Method and Description |
|---|---|
static CommunicationStrategy |
CommunicationStrategy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommunicationStrategy[] |
CommunicationStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
RaftSessionClient.Builder |
RaftSessionClient.Builder.withCommunicationStrategy(CommunicationStrategy communicationStrategy)
Sets the communication strategy.
|
Copyright © 2013-2019. All Rights Reserved.