ข้ามไปยังเนื้อหา

Class CdcCaptureReporterCoordinationStatus

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

Describes the reporter-coordination posture currently visible for one CDC capture or execution runtime.

public sealed record CdcCaptureReporterCoordinationStatus : IEquatable<CdcCaptureReporterCoordinationStatus>

objectCdcCaptureReporterCoordinationStatus

IEquatable<CdcCaptureReporterCoordinationStatus>

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

CdcCaptureReporterCoordinationStatus(string, string?)

Section titled “ CdcCaptureReporterCoordinationStatus(string, string?)”

Creates a new CDC reporter-coordination status.

public CdcCaptureReporterCoordinationStatus(string state, string? description = null)

state string

The stable reporter-coordination state, such as active, lease-expired, or conflicted.

description string?

An optional operator-facing reporter-coordination summary.

Gets the number of active reporters currently visible in the coordination story.

public int ActiveReporterCount { get; }

int

Gets the reporter identity that currently holds the active lease when one is known.

public string? ActiveReporterId { get; init; }

string?

Gets the UTC timestamp when the active reporter lease expires when one is known.

public DateTimeOffset? ActiveReporterLeaseExpiresAtUtc { get; init; }

DateTimeOffset?

Gets the stable degraded-reason identifier when reporter coordination is currently degraded.

public string DegradedReason { get; init; }

string

Gets an optional operator-facing reporter-coordination summary.

public string? Description { get; }

string?

Gets a value indicating whether the coordination answer currently has one active reporter owner.

public bool HasActiveReporter { get; }

bool

Gets a value indicating whether the coordination answer records a completed reporter takeover.

public bool HasCompletedTakeover { get; }

bool

Gets a value indicating whether the coordination answer currently carries more than one active reporter.

public bool HasMultipleActiveReporters { get; }

bool

Gets a value indicating whether the coordination answer currently carries rejected reporter evidence.

public bool HasRejectedReporters { get; }

bool

Gets a value indicating whether the coordination answer currently carries standby reporter evidence.

public bool HasStandbyReporters { get; }

bool

Gets a value indicating whether the coordination answer currently reports degraded reporter ownership.

public bool IsDegraded { get; }

bool

Gets the UTC timestamp when the last conflicting reporter was observed or rejected when one is known.

public DateTimeOffset? LastConflictedAtUtc { get; init; }

DateTimeOffset?

Gets the last conflicting reporter identity that was observed or rejected when one is known.

public string? LastConflictingReporterId { get; init; }

string?

Gets the UTC timestamp when the current reporter most recently took over after the previous lease expired.

public DateTimeOffset? LastTakeoverObservedAtUtc { get; init; }

DateTimeOffset?

Gets the UTC timestamp when the previous reporter lease expired before failover or takeover when one is known.

public DateTimeOffset? LeaseExpiredAtUtc { get; init; }

DateTimeOffset?

Gets the total number of reporter participants currently visible in the coordination story.

public int ParticipantCount { get; }

int

Gets the previous active reporter identity when the current reporter took over after lease expiry.

public string? PreviousReporterId { get; init; }

string?

Gets the number of rejected reporters currently visible in the coordination story.

public int RejectedReporterCount { get; }

int

Gets the reporter participants currently visible in the coordination story.

public IReadOnlyList<CdcCaptureReporterParticipantStatus> ReporterParticipants { get; init; }

IReadOnlyList<CdcCaptureReporterParticipantStatus>

Gets a value indicating whether the coordination answer is currently waiting for a replacement reporter to take over.

public bool RequiresTakeover { get; }

bool

Gets the number of standby reporters currently visible in the coordination story.

public int StandbyReporterCount { get; }

int

Gets the stable reporter-coordination state.

public string State { get; }

string

Gets the stable reporter-takeover posture currently visible in the coordination story.

public string TakeoverState { get; init; }

string