| 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 |
|---|---|
static SnapshotDescriptor.Builder |
SnapshotDescriptor.newBuilder()
Returns a descriptor builder.
|
static SnapshotDescriptor.Builder |
SnapshotDescriptor.newBuilder(io.atomix.storage.buffer.Buffer buffer)
Returns a descriptor builder for the given descriptor buffer.
|
SnapshotDescriptor.Builder |
SnapshotDescriptor.Builder.withIndex(long index)
Sets the snapshot index.
|
SnapshotDescriptor.Builder |
SnapshotDescriptor.Builder.withServiceId(long id)
Sets the snapshot identifier.
|
SnapshotDescriptor.Builder |
SnapshotDescriptor.Builder.withTimestamp(long timestamp)
Sets the snapshot timestamp.
|
Copyright © 2013–2017. All rights reserved.