| Package | Description |
|---|---|
| io.atomix.primitive.operation |
Provides classes and interfaces for defining distributed primitive operations.
|
| io.atomix.primitive.session |
Provides classes and interfaces for managing primitive sessions.
|
| io.atomix.protocols.backup.session |
Provides a
SessionClient implementation for primary-backup. |
| io.atomix.protocols.raft.service |
Provides classes for managing Raft-based primitive services.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveOperation |
PrimitiveOperation.operation(OperationId id)
Creates a new primitive operation with a simplified identifier and a null value.
|
static PrimitiveOperation |
PrimitiveOperation.operation(OperationId id,
byte[] value)
Creates a new primitive operation with a simplified identifier.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<byte[]> |
SessionClient.execute(PrimitiveOperation operation)
Executes an operation to the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<byte[]> |
PrimaryBackupSessionClient.execute(PrimitiveOperation operation) |
| Modifier and Type | Method and Description |
|---|---|
io.atomix.protocols.raft.impl.OperationResult |
RaftServiceContext.executeCommand(long index,
long sequence,
long timestamp,
RaftSession session,
PrimitiveOperation operation)
Executes the given command on the state machine.
|
CompletableFuture<io.atomix.protocols.raft.impl.OperationResult> |
RaftServiceContext.executeQuery(long index,
long sequence,
long timestamp,
RaftSession session,
PrimitiveOperation operation)
Executes the given query on the state machine.
|
Copyright © 2013–2018. All rights reserved.