Table of Contents

Class BackupArchiveGap

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

FromLsn long

Its first missing LSN.

ToLsn long

Its last missing LSN.

RecordedUtc DateTime

When the archive recorded it: the archiving time of the segment that carries it.

Reason BackupArchiveGapReason

Why.

Covered bool

Whether 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

bool

FromLsn

Its first missing LSN.

public long FromLsn { get; init; }

Property Value

long

Reason

Why.

public BackupArchiveGapReason Reason { get; init; }

Property Value

BackupArchiveGapReason

RecordedUtc

When the archive recorded it: the archiving time of the segment that carries it.

public DateTime RecordedUtc { get; init; }

Property Value

DateTime

ToLsn

Its last missing LSN.

public long ToLsn { get; init; }

Property Value

long

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

FromLsn long
ToLsn long
RecordedUtc DateTime
Reason BackupArchiveGapReason
Covered bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupArchiveGap?)

public bool Equals(BackupArchiveGap? other)

Parameters

other BackupArchiveGap

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupArchiveGap?, BackupArchiveGap?)

public static bool operator ==(BackupArchiveGap? left, BackupArchiveGap? right)

Parameters

left BackupArchiveGap
right BackupArchiveGap

Returns

bool

operator !=(BackupArchiveGap?, BackupArchiveGap?)

public static bool operator !=(BackupArchiveGap? left, BackupArchiveGap? right)

Parameters

left BackupArchiveGap
right BackupArchiveGap

Returns

bool