Class BackupArchiveCoverage
What a timeline's archive makes restorable, for Status(string).
public sealed record BackupArchiveCoverage : IEquatable<BackupArchiveCoverage>
- Inheritance
-
BackupArchiveCoverage
- Implements
- Inherited Members
Constructors
BackupArchiveCoverage(Guid, long, long, DateTime?, IReadOnlyList<BackupArchiveGap>)
What a timeline's archive makes restorable, for Status(string).
public BackupArchiveCoverage(Guid TimelineId, long FromLsn, long ThroughLsn, DateTime? LastArchivedUtc, IReadOnlyList<BackupArchiveGap> UncoveredGaps)
Parameters
TimelineIdGuidThe timeline.
FromLsnlongThe oldest restorable point's
Pon it; 0 when it has none.ThroughLsnlongThe archive's end.
LastArchivedUtcDateTime?When its newest segment was archived; null when none.
UncoveredGapsIReadOnlyList<BackupArchiveGap>Its gaps no restorable point lies past.
Properties
FromLsn
The oldest restorable point's P on it; 0 when it has none.
public long FromLsn { get; init; }
Property Value
LastArchivedUtc
When its newest segment was archived; null when none.
public DateTime? LastArchivedUtc { get; init; }
Property Value
ThroughLsn
The archive's end.
public long ThroughLsn { get; init; }
Property Value
TimelineId
The timeline.
public Guid TimelineId { get; init; }
Property Value
UncoveredGaps
Its gaps no restorable point lies past.
public IReadOnlyList<BackupArchiveGap> UncoveredGaps { get; init; }
Property Value
Methods
Deconstruct(out Guid, out long, out long, out DateTime?, out IReadOnlyList<BackupArchiveGap>)
public void Deconstruct(out Guid TimelineId, out long FromLsn, out long ThroughLsn, out DateTime? LastArchivedUtc, out IReadOnlyList<BackupArchiveGap> UncoveredGaps)
Parameters
TimelineIdGuidFromLsnlongThroughLsnlongLastArchivedUtcDateTime?UncoveredGapsIReadOnlyList<BackupArchiveGap>
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupArchiveCoverage?)
public bool Equals(BackupArchiveCoverage? other)
Parameters
otherBackupArchiveCoverage
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupArchiveCoverage?, BackupArchiveCoverage?)
public static bool operator ==(BackupArchiveCoverage? left, BackupArchiveCoverage? right)
Parameters
leftBackupArchiveCoveragerightBackupArchiveCoverage
Returns
operator !=(BackupArchiveCoverage?, BackupArchiveCoverage?)
public static bool operator !=(BackupArchiveCoverage? left, BackupArchiveCoverage? right)
Parameters
leftBackupArchiveCoveragerightBackupArchiveCoverage