| Package | Description |
|---|---|
| io.atomix.copycat.server.storage.snapshot |
Classes and interfaces that aid in storing, loading, and installing on-disk state machine snapshots.
|
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
Snapshot.complete()
Completes writing the snapshot to persist it and make it available for reads.
|
Snapshot |
SnapshotStore.createSnapshot(long index)
Creates a new snapshot.
|
Snapshot |
SnapshotStore.currentSnapshot()
Returns the most recent completed snapshot.
|
Snapshot |
SnapshotStore.snapshot(long index)
Returns a snapshot by index.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Snapshot> |
SnapshotStore.snapshots()
Returns a collection of all snapshots stored on disk.
|
Copyright © 2013–2016. All rights reserved.