| Package | Description |
|---|---|
| io.atomix.protocols.raft |
Core interfaces for operating on replicated state machines in the Raft cluster.
|
| io.atomix.protocols.raft.protocol |
RaftRequest and RaftResponse
implementations for all client-server communication. |
| io.atomix.protocols.raft.proxy |
Facilitates modification of a Raft state machine via proxy.
|
| io.atomix.protocols.raft.session |
Interfaces for managing client sessions on a Raft server.
|
| io.atomix.protocols.raft.storage.log.entry |
RaftLogEntry implementations used internally to replicate
state changes, sessions, and configuration changes in the cluster. |
| Modifier and Type | Method and Description |
|---|---|
static ReadConsistency |
ReadConsistency.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadConsistency[] |
ReadConsistency.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ReadConsistency |
OpenSessionRequest.readConsistency()
Returns the session read consistency level.
|
| Modifier and Type | Method and Description |
|---|---|
OpenSessionRequest.Builder |
OpenSessionRequest.Builder.withReadConsistency(ReadConsistency readConsistency)
Sets the session read consistency.
|
| Constructor and Description |
|---|
OpenSessionRequest(String member,
String name,
String typeName,
ReadConsistency readConsistency,
long minTimeout,
long maxTimeout) |
| Modifier and Type | Method and Description |
|---|---|
RaftProxyClient.Builder |
RaftProxyClient.Builder.withReadConsistency(ReadConsistency consistency)
Sets the session's read consistency level.
|
RaftProxy.Builder |
RaftProxy.Builder.withReadConsistency(ReadConsistency consistency)
Sets the session's read consistency level.
|
| Modifier and Type | Method and Description |
|---|---|
ReadConsistency |
RaftSession.readConsistency()
Returns the session's read consistency.
|
| Modifier and Type | Method and Description |
|---|---|
ReadConsistency |
OpenSessionEntry.readConsistency()
Returns the session read consistency level.
|
| Constructor and Description |
|---|
OpenSessionEntry(long term,
long timestamp,
String memberId,
String serviceName,
String serviceType,
ReadConsistency readConsistency,
long minTimeout,
long maxTimeout) |
Copyright © 2013–2017. All rights reserved.