public static class SnapshotDescriptor.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
SnapshotDescriptor |
build()
Builds the segment descriptor.
|
SnapshotDescriptor.Builder |
withIndex(long index)
Sets the segment index.
|
SnapshotDescriptor.Builder |
withTimestamp(long timestamp)
Sets the snapshot timestamp.
|
public SnapshotDescriptor.Builder withIndex(long index)
index - The segment index.public SnapshotDescriptor.Builder withTimestamp(long timestamp)
timestamp - The snapshot timestamp.public SnapshotDescriptor build()
Copyright © 2013–2016. All rights reserved.