| Package | Description |
|---|---|
| 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.storage.log.entry |
RaftLogEntry implementations used internally to replicate
state changes, sessions, and configuration changes in the cluster. |
| Modifier and Type | Method and Description |
|---|---|
RaftOperation |
OperationRequest.operation()
Returns the operation.
|
| Modifier and Type | Method and Description |
|---|---|
T |
OperationRequest.Builder.withOperation(RaftOperation operation)
Sets the request operation.
|
| Constructor and Description |
|---|
CommandRequest(long session,
long sequence,
RaftOperation operation) |
QueryRequest(long session,
long sequence,
RaftOperation operation,
long index) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<byte[]> |
RaftProxyExecutor.execute(RaftOperation operation)
Executes an operation to the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
RaftOperation |
OperationEntry.operation()
Returns the entry operation.
|
| Constructor and Description |
|---|
CommandEntry(long term,
long timestamp,
long session,
long sequence,
RaftOperation operation) |
OperationEntry(long term,
long timestamp,
long session,
long sequence,
RaftOperation operation) |
QueryEntry(long term,
long timestamp,
long session,
long sequence,
RaftOperation operation) |
Copyright © 2013–2017. All rights reserved.