| Package | Description |
|---|---|
| io.atomix.protocols.backup.protocol | |
| io.atomix.protocols.backup.roles |
| Modifier and Type | Method and Description |
|---|---|
static RestoreResponse |
RestoreResponse.error() |
static RestoreResponse |
RestoreResponse.ok(long index,
long timestamp,
byte[] data) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<RestoreResponse> |
PrimaryBackupServerProtocol.restore(io.atomix.cluster.NodeId nodeId,
RestoreRequest request)
Sends a restore request to the given node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrimaryBackupServerProtocol.registerRestoreHandler(Function<RestoreRequest,CompletableFuture<RestoreResponse>> handler)
Registers a restore request callback.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<RestoreResponse> |
PrimaryRole.restore(RestoreRequest request) |
CompletableFuture<RestoreResponse> |
PrimaryBackupRole.restore(RestoreRequest request)
Handles a restore request.
|
Copyright © 2013–2018. All rights reserved.