Table of Contents

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

ReplicationLag TimeSpan

The time since the last successful replication. Compare against RPO target.

PendingKeys int

Number of keys awaiting replication.

LastSuccessfulSync DateTimeOffset?

Timestamp of the last successful synchronization.

SyncInProgress bool

Whether a sync operation is currently running.

ReplicationMode ReplicationMode

The configured replication mode.

Properties

LastSuccessfulSync

Timestamp of the last successful synchronization.

public DateTimeOffset? LastSuccessfulSync { get; init; }

Property Value

DateTimeOffset?

PendingKeys

Number of keys awaiting replication.

public int PendingKeys { get; init; }

Property Value

int

ReplicationLag

The time since the last successful replication. Compare against RPO target.

public TimeSpan ReplicationLag { get; init; }

Property Value

TimeSpan

ReplicationMode

The configured replication mode.

public ReplicationMode ReplicationMode { get; init; }

Property Value

ReplicationMode

SyncInProgress

Whether a sync operation is currently running.

public bool SyncInProgress { get; init; }

Property Value

bool