| 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 |
|---|---|
ReadConsistency |
MultiRaftProtocolConfig.getReadConsistency()
Returns the read consistency level.
|
static ReadConsistency |
ReadConsistency.valueOf(java.lang.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 |
|---|---|
MultiRaftProtocolConfig |
MultiRaftProtocolConfig.setReadConsistency(ReadConsistency readConsistency)
Sets the read consistency level.
|
MultiRaftProtocolBuilder |
MultiRaftProtocolBuilder.withReadConsistency(ReadConsistency readConsistency)
Sets the read consistency level.
|
| Modifier and Type | Method and Description |
|---|---|
ReadConsistency |
RaftSession.readConsistency()
Returns the session read consistency.
|
| Modifier and Type | Method and Description |
|---|---|
RaftSessionClient.Builder |
RaftSessionClient.Builder.withReadConsistency(ReadConsistency readConsistency)
Sets the read consistency level.
|
| Constructor and Description |
|---|
RaftSession(SessionId sessionId,
MemberId member,
java.lang.String name,
PrimitiveType primitiveType,
ReadConsistency readConsistency,
long minTimeout,
long maxTimeout,
long lastUpdated,
Serializer serializer,
RaftServiceContext context,
io.atomix.protocols.raft.impl.RaftContext server,
io.atomix.utils.concurrent.ThreadContextFactory threadContextFactory) |
Copyright © 2013-2019. All Rights Reserved.