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