public static final class RecordingLog.Snapshot extends Object
RecordingLog
.Modifier and Type | Field and Description |
---|---|
long |
leadershipTermId |
long |
logPosition |
long |
recordingId |
int |
serviceId |
long |
termBaseLogPosition |
long |
timestamp |
Constructor and Description |
---|
Snapshot(long recordingId,
long leadershipTermId,
long termBaseLogPosition,
long logPosition,
long timestamp,
int serviceId)
A snapshot entry in the
RecordingLog . |
public final long recordingId
public final long leadershipTermId
public final long termBaseLogPosition
public final long logPosition
public final long timestamp
public final int serviceId
public Snapshot(long recordingId, long leadershipTermId, long termBaseLogPosition, long logPosition, long timestamp, int serviceId)
RecordingLog
.recordingId
- of the entry in an archive.leadershipTermId
- in which the snapshot was taken.termBaseLogPosition
- position of the log over leadership terms at the beginning of this term.logPosition
- position reached when the entry was snapshot was taken.timestamp
- as which the snapshot was taken.serviceId
- which the snapshot belongs to.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.