Class BackupSettleResult
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, IReadOnlyList<BackupSchemaAssembly>)
What an open and close of a restored bundle did (OpenAndCloseRestored(string, ILogger)).
public BackupSettleResult(bool CrashRecoveryRan, WalRecoveryResult Recovery, TimeSpan Duration, IReadOnlyList<BackupSchemaAssembly> Assemblies = null)
Parameters
CrashRecoveryRanboolThe open took the crash path: the WAL was replayed, derived structures rebuilt, the image sealed.
RecoveryWalRecoveryResultThe WAL recovery's figures; default when none ran.
DurationTimeSpanOpen to close.
AssembliesIReadOnlyList<BackupSchemaAssembly>The schema assemblies the open registered (#1485);
nullwhen the opener did not say.
Properties
Assemblies
The schema assemblies the open registered (#1485); null when the opener did not say.
public IReadOnlyList<BackupSchemaAssembly> Assemblies { get; init; }
Property Value
CrashRecoveryRan
The open took the crash path: the WAL was replayed, derived structures rebuilt, the image sealed.
public bool CrashRecoveryRan { get; init; }
Property Value
Duration
Open to close.
public TimeSpan Duration { get; init; }
Property Value
Recovery
The WAL recovery's figures; default when none ran.
public WalRecoveryResult Recovery { get; init; }
Property Value
Methods
Deconstruct(out bool, out WalRecoveryResult, out TimeSpan, out IReadOnlyList<BackupSchemaAssembly>)
public void Deconstruct(out bool CrashRecoveryRan, out WalRecoveryResult Recovery, out TimeSpan Duration, out IReadOnlyList<BackupSchemaAssembly> Assemblies)
Parameters
CrashRecoveryRanboolRecoveryWalRecoveryResultDurationTimeSpanAssembliesIReadOnlyList<BackupSchemaAssembly>
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupSettleResult?)
public bool Equals(BackupSettleResult? other)
Parameters
otherBackupSettleResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupSettleResult?, BackupSettleResult?)
public static bool operator ==(BackupSettleResult? left, BackupSettleResult? right)
Parameters
leftBackupSettleResultrightBackupSettleResult
Returns
operator !=(BackupSettleResult?, BackupSettleResult?)
public static bool operator !=(BackupSettleResult? left, BackupSettleResult? right)
Parameters
leftBackupSettleResultrightBackupSettleResult