Class BackupArchiveLog
A range of a timeline's archive (ReadLog(string, Guid, long, long, bool, int)).
public sealed record BackupArchiveLog : IEquatable<BackupArchiveLog>
- Inheritance
-
BackupArchiveLog
- Implements
- Inherited Members
Constructors
BackupArchiveLog(Guid, long, long, IReadOnlyList<BackupArchivedSegment>, IReadOnlyList<BackupArchiveGap>, IReadOnlyList<BackupTimeSample>, IReadOnlyList<BackupLogFrame>, bool)
A range of a timeline's archive (ReadLog(string, Guid, long, long, bool, int)).
public BackupArchiveLog(Guid TimelineId, long FromLsn, long ToLsn, IReadOnlyList<BackupArchivedSegment> Segments, IReadOnlyList<BackupArchiveGap> Gaps, IReadOnlyList<BackupTimeSample> Samples, IReadOnlyList<BackupLogFrame> Frames, bool Truncated)
Parameters
TimelineIdGuidThe timeline read.
FromLsnlongThe range's first LSN.
ToLsnlongThe range's last LSN.
SegmentsIReadOnlyList<BackupArchivedSegment>The segments overlapping it.
GapsIReadOnlyList<BackupArchiveGap>The gaps overlapping it.
SamplesIReadOnlyList<BackupTimeSample>The time samples inside it.
FramesIReadOnlyList<BackupLogFrame>With commits, every frame ending inside it, up to the limit; empty otherwise.
TruncatedboolWhether the limit stopped the frame list.
Properties
Frames
With commits, every frame ending inside it, up to the limit; empty otherwise.
public IReadOnlyList<BackupLogFrame> Frames { get; init; }
Property Value
FromLsn
The range's first LSN.
public long FromLsn { get; init; }
Property Value
Gaps
The gaps overlapping it.
public IReadOnlyList<BackupArchiveGap> Gaps { get; init; }
Property Value
Samples
The time samples inside it.
public IReadOnlyList<BackupTimeSample> Samples { get; init; }
Property Value
Segments
The segments overlapping it.
public IReadOnlyList<BackupArchivedSegment> Segments { get; init; }
Property Value
TimelineId
The timeline read.
public Guid TimelineId { get; init; }
Property Value
ToLsn
The range's last LSN.
public long ToLsn { get; init; }
Property Value
Truncated
Whether the limit stopped the frame list.
public bool Truncated { get; init; }
Property Value
Methods
Deconstruct(out Guid, out long, out long, out IReadOnlyList<BackupArchivedSegment>, out IReadOnlyList<BackupArchiveGap>, out IReadOnlyList<BackupTimeSample>, out IReadOnlyList<BackupLogFrame>, out bool)
public void Deconstruct(out Guid TimelineId, out long FromLsn, out long ToLsn, out IReadOnlyList<BackupArchivedSegment> Segments, out IReadOnlyList<BackupArchiveGap> Gaps, out IReadOnlyList<BackupTimeSample> Samples, out IReadOnlyList<BackupLogFrame> Frames, out bool Truncated)
Parameters
TimelineIdGuidFromLsnlongToLsnlongSegmentsIReadOnlyList<BackupArchivedSegment>GapsIReadOnlyList<BackupArchiveGap>SamplesIReadOnlyList<BackupTimeSample>FramesIReadOnlyList<BackupLogFrame>Truncatedbool
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupArchiveLog?)
public bool Equals(BackupArchiveLog? other)
Parameters
otherBackupArchiveLog
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupArchiveLog?, BackupArchiveLog?)
public static bool operator ==(BackupArchiveLog? left, BackupArchiveLog? right)
Parameters
leftBackupArchiveLogrightBackupArchiveLog
Returns
operator !=(BackupArchiveLog?, BackupArchiveLog?)
public static bool operator !=(BackupArchiveLog? left, BackupArchiveLog? right)
Parameters
leftBackupArchiveLogrightBackupArchiveLog