See: Description
| Class | Description |
|---|---|
| Snapshot |
Manages reading and writing a single snapshot file.
|
| SnapshotDescriptor |
Stores information about a
Snapshot of the state machine. |
| SnapshotDescriptor.Builder |
Snapshot descriptor builder.
|
| SnapshotFile |
Represents a snapshot file on disk.
|
| SnapshotReader |
Reads bytes from a state machine
Snapshot. |
| SnapshotStore |
Persists server snapshots via the
Storage module. |
| SnapshotWriter |
Writes bytes to a state machine
Snapshot. |
Snapshots are byte-level representations of the state machine's state taken periodically to allow entries
to be removed from Copycat's Log during log compaction.
Copycat interacts with snapshots primarily through the SnapshotStore
which is responsible for storing and loading snapshots. Each snapshot is stored as a separate file
on disk, and old snapshots may or may not be retained depending on the Storage
configuration.
Copyright © 2013–2016. All rights reserved.