Class BackupArchiveGap
A range of LSNs missing from a timeline's archive.
public sealed record BackupArchiveGap : IEquatable<BackupArchiveGap>
- Inheritance
-
BackupArchiveGap
- Implements
- Inherited Members
Constructors
BackupArchiveGap(long, long, DateTime, BackupArchiveGapReason, bool)
A range of LSNs missing from a timeline's archive.
public BackupArchiveGap(long FromLsn, long ToLsn, DateTime RecordedUtc, BackupArchiveGapReason Reason, bool Covered)
Parameters
FromLsnlongIts first missing LSN.
ToLsnlongIts last missing LSN.
RecordedUtcDateTimeWhen the archive recorded it: the archiving time of the segment that carries it.
ReasonBackupArchiveGapReasonWhy.
CoveredboolWhether a restorable point of the timeline lies past it, so that the LSNs after it are restorable again.
Properties
Covered
Whether a restorable point of the timeline lies past it, so that the LSNs after it are restorable again.
public bool Covered { get; init; }
Property Value
FromLsn
Its first missing LSN.
public long FromLsn { get; init; }
Property Value
Reason
Why.
public BackupArchiveGapReason Reason { get; init; }
Property Value
RecordedUtc
When the archive recorded it: the archiving time of the segment that carries it.
public DateTime RecordedUtc { get; init; }
Property Value
ToLsn
Its last missing LSN.
public long ToLsn { get; init; }
Property Value
Methods
Deconstruct(out long, out long, out DateTime, out BackupArchiveGapReason, out bool)
public void Deconstruct(out long FromLsn, out long ToLsn, out DateTime RecordedUtc, out BackupArchiveGapReason Reason, out bool Covered)
Parameters
FromLsnlongToLsnlongRecordedUtcDateTimeReasonBackupArchiveGapReasonCoveredbool
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupArchiveGap?)
public bool Equals(BackupArchiveGap? other)
Parameters
otherBackupArchiveGap
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupArchiveGap?, BackupArchiveGap?)
public static bool operator ==(BackupArchiveGap? left, BackupArchiveGap? right)
Parameters
leftBackupArchiveGaprightBackupArchiveGap
Returns
operator !=(BackupArchiveGap?, BackupArchiveGap?)
public static bool operator !=(BackupArchiveGap? left, BackupArchiveGap? right)
Parameters
leftBackupArchiveGaprightBackupArchiveGap