Table of Contents

Class BackupSettleResult

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

What an open and close of a restored bundle did (OpenAndCloseRestored(string, ILogger)).

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

Constructors

BackupSettleResult(bool, WalRecoveryResult, TimeSpan)

What an open and close of a restored bundle did (OpenAndCloseRestored(string, ILogger)).

public BackupSettleResult(bool CrashRecoveryRan, WalRecoveryResult Recovery, TimeSpan Duration)

Parameters

CrashRecoveryRan bool

The open took the crash path: the WAL was replayed, derived structures rebuilt, the image sealed.

Recovery WalRecoveryResult

The WAL recovery's figures; default when none ran.

Duration TimeSpan

Open to close.

Properties

CrashRecoveryRan

The open took the crash path: the WAL was replayed, derived structures rebuilt, the image sealed.

public bool CrashRecoveryRan { get; init; }

Property Value

bool

Duration

Open to close.

public TimeSpan Duration { get; init; }

Property Value

TimeSpan

Recovery

The WAL recovery's figures; default when none ran.

public WalRecoveryResult Recovery { get; init; }

Property Value

WalRecoveryResult

Methods

Deconstruct(out bool, out WalRecoveryResult, out TimeSpan)

public void Deconstruct(out bool CrashRecoveryRan, out WalRecoveryResult Recovery, out TimeSpan Duration)

Parameters

CrashRecoveryRan bool
Recovery WalRecoveryResult
Duration TimeSpan

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupSettleResult?)

public bool Equals(BackupSettleResult? other)

Parameters

other BackupSettleResult

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupSettleResult?, BackupSettleResult?)

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

Parameters

left BackupSettleResult
right BackupSettleResult

Returns

bool

operator !=(BackupSettleResult?, BackupSettleResult?)

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

Parameters

left BackupSettleResult
right BackupSettleResult

Returns

bool