Table of Contents

Class BackupTimeResolution

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

An instant resolved to an LSN (ResolveTime(string, DateTime, Guid?)): the highest LSN sampled durable at or before it.

public sealed record BackupTimeResolution : IEquatable<BackupTimeResolution>
Inheritance
BackupTimeResolution
Implements
Inherited Members

Constructors

BackupTimeResolution(long, DateTime, Guid)

An instant resolved to an LSN (ResolveTime(string, DateTime, Guid?)): the highest LSN sampled durable at or before it.

public BackupTimeResolution(long Lsn, DateTime SampleUtc, Guid TimelineId)

Parameters

Lsn long

That LSN.

SampleUtc DateTime

The sample's time.

TimelineId Guid

The timeline holding it (the asked timeline, or an ancestor).

Properties

Lsn

That LSN.

public long Lsn { get; init; }

Property Value

long

SampleUtc

The sample's time.

public DateTime SampleUtc { get; init; }

Property Value

DateTime

TimelineId

The timeline holding it (the asked timeline, or an ancestor).

public Guid TimelineId { get; init; }

Property Value

Guid

Methods

Deconstruct(out long, out DateTime, out Guid)

public void Deconstruct(out long Lsn, out DateTime SampleUtc, out Guid TimelineId)

Parameters

Lsn long
SampleUtc DateTime
TimelineId Guid

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupTimeResolution?)

public bool Equals(BackupTimeResolution? other)

Parameters

other BackupTimeResolution

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupTimeResolution?, BackupTimeResolution?)

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

Parameters

left BackupTimeResolution
right BackupTimeResolution

Returns

bool

operator !=(BackupTimeResolution?, BackupTimeResolution?)

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

Parameters

left BackupTimeResolution
right BackupTimeResolution

Returns

bool