| 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.session | |
| 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 |
|---|---|
ReadConsistency |
RaftProtocol.readConsistency()
Returns the read consistency.
|
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 |
|---|---|
RaftProtocol.Builder |
RaftProtocol.Builder.withReadConsistency(ReadConsistency readConsistency)
Sets the read consistency level.
|
| 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 node,
String name,
String typeName,
ReadConsistency readConsistency,
long minTimeout,
long maxTimeout) |
| Modifier and Type | Method and Description |
|---|---|
ReadConsistency |
RaftSession.readConsistency()
Returns the session read consistency.
|
| Constructor and Description |
|---|
RaftSession(io.atomix.primitive.session.SessionId sessionId,
io.atomix.cluster.NodeId member,
String name,
io.atomix.primitive.PrimitiveType primitiveType,
ReadConsistency readConsistency,
long minTimeout,
long maxTimeout,
long lastUpdated,
RaftServiceContext context,
io.atomix.protocols.raft.impl.RaftContext server,
io.atomix.utils.concurrent.ThreadContextFactory threadContextFactory) |
| 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–2018. All rights reserved.