Class BackupCompactionResult
What a compaction did.
public sealed record BackupCompactionResult : IEquatable<BackupCompactionResult>
- Inheritance
-
BackupCompactionResult
- Implements
- Inherited Members
Constructors
BackupCompactionResult(BackupPointSummary, bool, int, int, int, long, long, TimeSpan)
What a compaction did.
public BackupCompactionResult(BackupPointSummary Point, bool AlreadyBase, int ChainDepth, int Pages, int HolePages, long BytesRead, long BytesWritten, TimeSpan Duration)
Parameters
PointBackupPointSummaryThe point, as its compacted pack now describes it (or its existing base when it already was one).
AlreadyBaseboolThe point was already a base (a full point, or compacted before): nothing was written.
ChainDepthintThe packs its chain read.
PagesintThe image's pages, every one held by the compacted pack.
HolePagesintPages no pack of the chain held, written as zero entries.
BytesReadlongBytes read from the chain's packs (the pre-publish verify excluded).
BytesWrittenlongThe compacted pack's size.
DurationTimeSpanWall time, the pre-publish verify included.
Properties
AlreadyBase
The point was already a base (a full point, or compacted before): nothing was written.
public bool AlreadyBase { get; init; }
Property Value
BytesRead
Bytes read from the chain's packs (the pre-publish verify excluded).
public long BytesRead { get; init; }
Property Value
BytesWritten
The compacted pack's size.
public long BytesWritten { get; init; }
Property Value
ChainDepth
The packs its chain read.
public int ChainDepth { get; init; }
Property Value
Duration
Wall time, the pre-publish verify included.
public TimeSpan Duration { get; init; }
Property Value
HolePages
Pages no pack of the chain held, written as zero entries.
public int HolePages { get; init; }
Property Value
Pages
The image's pages, every one held by the compacted pack.
public int Pages { get; init; }
Property Value
Point
The point, as its compacted pack now describes it (or its existing base when it already was one).
public BackupPointSummary Point { get; init; }
Property Value
Methods
Deconstruct(out BackupPointSummary, out bool, out int, out int, out int, out long, out long, out TimeSpan)
public void Deconstruct(out BackupPointSummary Point, out bool AlreadyBase, out int ChainDepth, out int Pages, out int HolePages, out long BytesRead, out long BytesWritten, out TimeSpan Duration)
Parameters
PointBackupPointSummaryAlreadyBaseboolChainDepthintPagesintHolePagesintBytesReadlongBytesWrittenlongDurationTimeSpan
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupCompactionResult?)
public bool Equals(BackupCompactionResult? other)
Parameters
otherBackupCompactionResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupCompactionResult?, BackupCompactionResult?)
public static bool operator ==(BackupCompactionResult? left, BackupCompactionResult? right)
Parameters
leftBackupCompactionResultrightBackupCompactionResult
Returns
operator !=(BackupCompactionResult?, BackupCompactionResult?)
public static bool operator !=(BackupCompactionResult? left, BackupCompactionResult? right)
Parameters
leftBackupCompactionResultrightBackupCompactionResult