| Package | Description |
|---|---|
| io.atomix.protocols.raft.storage.snapshot |
Classes and interfaces that aid in storing, loading, and installing on-disk state machine snapshots.
|
| Modifier and Type | Method and Description |
|---|---|
abstract SnapshotReader |
Snapshot.openReader()
Opens a new snapshot reader.
|
SnapshotReader |
SnapshotReader.read(io.atomix.storage.buffer.Buffer buffer) |
SnapshotReader |
SnapshotReader.read(byte[] bytes) |
SnapshotReader |
SnapshotReader.read(byte[] bytes,
int offset,
int length) |
SnapshotReader |
SnapshotReader.read(io.atomix.storage.buffer.Bytes bytes) |
SnapshotReader |
SnapshotReader.read(io.atomix.storage.buffer.Bytes bytes,
int offset,
int length) |
SnapshotReader |
SnapshotReader.skip(int bytes) |
| Modifier and Type | Method and Description |
|---|---|
void |
Snapshottable.install(SnapshotReader reader)
Installs a snapshot of the state machine state.
|
Copyright © 2013–2017. All rights reserved.