Table of Contents

Struct BackupTimeSample

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

A time sample: the WAL was durable through Lsn at Utc.

public readonly struct BackupTimeSample : IEquatable<BackupTimeSample>
Implements
Inherited Members

Constructors

BackupTimeSample(long, DateTime)

A time sample: the WAL was durable through Lsn at Utc.

public BackupTimeSample(long Lsn, DateTime Utc)

Parameters

Lsn long
Utc DateTime

Properties

Lsn

public long Lsn { get; init; }

Property Value

long

Utc

public DateTime Utc { get; init; }

Property Value

DateTime

Methods

Deconstruct(out long, out DateTime)

public void Deconstruct(out long Lsn, out DateTime Utc)

Parameters

Lsn long
Utc DateTime

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

Equals(BackupTimeSample)

public bool Equals(BackupTimeSample other)

Parameters

other BackupTimeSample

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupTimeSample, BackupTimeSample)

public static bool operator ==(BackupTimeSample left, BackupTimeSample right)

Parameters

left BackupTimeSample
right BackupTimeSample

Returns

bool

operator !=(BackupTimeSample, BackupTimeSample)

public static bool operator !=(BackupTimeSample left, BackupTimeSample right)

Parameters

left BackupTimeSample
right BackupTimeSample

Returns

bool