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
TotalItemsDetectedlongThe total number of items detected for migration.
ItemsMigratedlongThe number of items migrated.
FailureCountlongThe number of migration failures.
VersionDistributionIReadOnlyDictionary<EncryptionVersion, long>The breakdown of items by version.
LastUpdatedDateTimeOffsetThe timestamp when progress was last updated.
Properties
CompletionPercentage
Gets the percentage of migration completion (0-100).
public double CompletionPercentage { get; }
Property Value
FailureCount
The number of migration failures.
public long FailureCount { get; init; }
Property Value
ItemsMigrated
The number of items migrated.
public long ItemsMigrated { get; init; }
Property Value
LastUpdated
The timestamp when progress was last updated.
public DateTimeOffset LastUpdated { get; init; }
Property Value
TotalItemsDetected
The total number of items detected for migration.
public long TotalItemsDetected { get; init; }
Property Value
VersionDistribution
The breakdown of items by version.
public IReadOnlyDictionary<EncryptionVersion, long> VersionDistribution { get; init; }