Table of Contents

Class VersionMigrationProgress

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Represents the current migration progress statistics.

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

Constructors

VersionMigrationProgress(long, long, long, IReadOnlyDictionary<EncryptionVersion, long>, DateTimeOffset)

Represents the current migration progress statistics.

public VersionMigrationProgress(long TotalItemsDetected, long ItemsMigrated, long FailureCount, IReadOnlyDictionary<EncryptionVersion, long> VersionDistribution, DateTimeOffset LastUpdated)

Parameters

TotalItemsDetected long

The total number of items detected for migration.

ItemsMigrated long

The number of items migrated.

FailureCount long

The number of migration failures.

VersionDistribution IReadOnlyDictionary<EncryptionVersion, long>

The breakdown of items by version.

LastUpdated DateTimeOffset

The timestamp when progress was last updated.

Properties

CompletionPercentage

Gets the percentage of migration completion (0-100).

public double CompletionPercentage { get; }

Property Value

double

FailureCount

The number of migration failures.

public long FailureCount { get; init; }

Property Value

long

ItemsMigrated

The number of items migrated.

public long ItemsMigrated { get; init; }

Property Value

long

LastUpdated

The timestamp when progress was last updated.

public DateTimeOffset LastUpdated { get; init; }

Property Value

DateTimeOffset

TotalItemsDetected

The total number of items detected for migration.

public long TotalItemsDetected { get; init; }

Property Value

long

VersionDistribution

The breakdown of items by version.

public IReadOnlyDictionary<EncryptionVersion, long> VersionDistribution { get; init; }

Property Value

IReadOnlyDictionary<EncryptionVersion, long>