public static final class RecordingLog.Log extends Object
RecordingLog.| Modifier and Type | Field and Description |
|---|---|
int |
initialTermId
Initial term identity of the stream captured for the recording.
|
long |
leadershipTermId
Identity of the leadership term.
|
long |
logPosition
Position the log has reached for the term which can be
AeronArchive.NULL_POSITION when not committed. |
int |
mtuLength
Transport MTU length of the stream captured for the recording.
|
long |
recordingId
Identity of the recording in the archive for the log.
|
int |
sessionId
Transport session identity of the stream captured for the recording.
|
long |
startPosition
Start position of the recording captured in the archive.
|
long |
stopPosition
Stop position of the recording captured in the archive.
|
long |
termBaseLogPosition
The log position at the base of the leadership term.
|
int |
termBufferLength
Transport term buffer length of the stream captured for the recording.
|
| Constructor and Description |
|---|
Log(long recordingId,
long leadershipTermId,
long termBaseLogPosition,
long logPosition,
long startPosition,
long stopPosition,
int initialTermId,
int termBufferLength,
int mtuLength,
int sessionId)
Construct a representation of a log entry in the
RecordingLog. |
public final long recordingId
public final long leadershipTermId
public final long termBaseLogPosition
public final long logPosition
AeronArchive.NULL_POSITION when not committed.public final long startPosition
public final long stopPosition
public final int initialTermId
public final int termBufferLength
public final int mtuLength
public final int sessionId
public Log(long recordingId,
long leadershipTermId,
long termBaseLogPosition,
long logPosition,
long startPosition,
long stopPosition,
int initialTermId,
int termBufferLength,
int mtuLength,
int sessionId)
RecordingLog.recordingId - for the recording in an archive.leadershipTermId - identity for the leadership term.termBaseLogPosition - log position at the base of the leadership term.logPosition - position the log has reached for the term.startPosition - of the recording captured in the archive.stopPosition - of the recording captured in the archive.initialTermId - of the stream captured for the recording.termBufferLength - of the stream captured for the recording.mtuLength - of the stream captured for the recording.sessionId - of the stream captured for the recording.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.