| Package | Description |
|---|---|
| io.atomix.protocols.backup.protocol | |
| io.atomix.protocols.backup.roles |
| Modifier and Type | Method and Description |
|---|---|
static ExecuteResponse |
ExecuteResponse.error() |
static ExecuteResponse |
ExecuteResponse.ok(byte[] result) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ExecuteResponse> |
PrimaryBackupClientProtocol.execute(io.atomix.cluster.NodeId nodeId,
ExecuteRequest request)
Sends an execute request to the given node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrimaryBackupServerProtocol.registerExecuteHandler(Function<ExecuteRequest,CompletableFuture<ExecuteResponse>> handler)
Registers a execute request callback.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ExecuteResponse> |
PrimaryRole.execute(ExecuteRequest request) |
CompletableFuture<ExecuteResponse> |
PrimaryBackupRole.execute(ExecuteRequest request)
Handles an execute response.
|
Copyright © 2013–2018. All rights reserved.