Class ReplicationStatus
- Namespace
- Excalibur.Compliance
- Assembly
- Excalibur.Compliance.Abstractions.dll
Represents the replication status between primary and secondary regions.
public sealed record ReplicationStatus : IEquatable<ReplicationStatus>
- Inheritance
-
ReplicationStatus
- Implements
- Inherited Members
Constructors
ReplicationStatus(TimeSpan, int, DateTimeOffset?, bool, ReplicationMode)
Represents the replication status between primary and secondary regions.
public ReplicationStatus(TimeSpan ReplicationLag, int PendingKeys, DateTimeOffset? LastSuccessfulSync, bool SyncInProgress, ReplicationMode ReplicationMode)
Parameters
ReplicationLagTimeSpanThe time since the last successful replication. Compare against RPO target.
PendingKeysintNumber of keys awaiting replication.
LastSuccessfulSyncDateTimeOffset?Timestamp of the last successful synchronization.
SyncInProgressboolWhether a sync operation is currently running.
ReplicationModeReplicationModeThe configured replication mode.
Properties
LastSuccessfulSync
Timestamp of the last successful synchronization.
public DateTimeOffset? LastSuccessfulSync { get; init; }
Property Value
PendingKeys
Number of keys awaiting replication.
public int PendingKeys { get; init; }
Property Value
ReplicationLag
The time since the last successful replication. Compare against RPO target.
public TimeSpan ReplicationLag { get; init; }
Property Value
ReplicationMode
The configured replication mode.
public ReplicationMode ReplicationMode { get; init; }
Property Value
SyncInProgress
Whether a sync operation is currently running.
public bool SyncInProgress { get; init; }