Skip to content

Class CdcCaptureFreshnessStatus

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Describes the provider-facing freshness posture currently visible for one CDC capture.

public sealed record CdcCaptureFreshnessStatus : IEquatable<CdcCaptureFreshnessStatus>

objectCdcCaptureFreshnessStatus

IEquatable<CdcCaptureFreshnessStatus>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

CdcCaptureFreshnessStatus(string, DateTimeOffset?, string?)

Section titled “ CdcCaptureFreshnessStatus(string, DateTimeOffset?, string?)”

Creates a new CDC freshness status.

public CdcCaptureFreshnessStatus(string state, DateTimeOffset? freshUntilUtc = null, string? description = null)

state string

The stable freshness-state identifier, such as unknown, fresh, or stale.

freshUntilUtc DateTimeOffset?

The UTC timestamp until which the active runtime expects the current observation to remain fresh when one is known.

description string?

An optional operator-facing freshness summary.

Gets an optional operator-facing freshness summary.

public string? Description { get; }

string?

Gets the UTC timestamp until which the current capture observation remains fresh when one is known.

public DateTimeOffset? FreshUntilUtc { get; }

DateTimeOffset?

Gets a value indicating whether a freshness window is currently known.

public bool HasWindow { get; }

bool

Gets the stable freshness-state identifier.

public string State { get; }

string