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>Inheritance
Section titled “Inheritance”object ← CdcCaptureFreshnessStatus
Implements
Section titled “Implements”IEquatable<CdcCaptureFreshnessStatus>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”Description
Section titled “ Description”Gets an optional operator-facing freshness summary.
public string? Description { get; }Property Value
Section titled “Property Value”FreshUntilUtc
Section titled “ FreshUntilUtc”Gets the UTC timestamp until which the current capture observation remains fresh when one is known.
public DateTimeOffset? FreshUntilUtc { get; }Property Value
Section titled “Property Value”HasWindow
Section titled “ HasWindow”Gets a value indicating whether a freshness window is currently known.
public bool HasWindow { get; }Property Value
Section titled “Property Value”Gets the stable freshness-state identifier.
public string State { get; }