Table of Contents

Class BackupArchiveCoverage

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

TimelineId Guid

The timeline.

FromLsn long

The oldest restorable point's P on it; 0 when it has none.

ThroughLsn long

The archive's end.

LastArchivedUtc DateTime?

When its newest segment was archived; null when none.

UncoveredGaps IReadOnlyList<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

long

LastArchivedUtc

When its newest segment was archived; null when none.

public DateTime? LastArchivedUtc { get; init; }

Property Value

DateTime?

ThroughLsn

The archive's end.

public long ThroughLsn { get; init; }

Property Value

long

TimelineId

The timeline.

public Guid TimelineId { get; init; }

Property Value

Guid

UncoveredGaps

Its gaps no restorable point lies past.

public IReadOnlyList<BackupArchiveGap> UncoveredGaps { get; init; }

Property Value

IReadOnlyList<BackupArchiveGap>

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

TimelineId Guid
FromLsn long
ThroughLsn long
LastArchivedUtc DateTime?
UncoveredGaps IReadOnlyList<BackupArchiveGap>

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupArchiveCoverage?)

public bool Equals(BackupArchiveCoverage? other)

Parameters

other BackupArchiveCoverage

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupArchiveCoverage?, BackupArchiveCoverage?)

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

Parameters

left BackupArchiveCoverage
right BackupArchiveCoverage

Returns

bool

operator !=(BackupArchiveCoverage?, BackupArchiveCoverage?)

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

Parameters

left BackupArchiveCoverage
right BackupArchiveCoverage

Returns

bool