Skip to content

Interface ICdcCaptureRuntimeStateCatalog

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

Exposes the operator-facing CDC runtime state currently visible for the active runtime.

public interface ICdcCaptureRuntimeStateCatalog

Gets the CDC runtime-state entries visible to the current runtime.

IReadOnlyList<CdcCaptureRuntimeState> States { get; }

IReadOnlyList<CdcCaptureRuntimeState>

Gets the CDC runtime-state entries whose latest runtime story mentions the requested edge node.

IReadOnlyList<CdcCaptureRuntimeState> GetByEdgeNodeId(string edgeNodeId)

edgeNodeId string

The edge-node identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when the edge node is not currently visible.

Gets the CDC runtime-state entries currently owned by the requested execution runtime.

IReadOnlyList<CdcCaptureRuntimeState> GetByExecutionRuntimeId(string executionRuntimeId)

executionRuntimeId string

The execution-runtime identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when the runtime owns none.

Gets one CDC runtime-state entry by its stable capture identifier.

CdcCaptureRuntimeState? GetById(string cdcCaptureId)

cdcCaptureId string

The CDC capture identifier to resolve.

CdcCaptureRuntimeState?

The matching runtime state, or null when that capture is not active.

Gets the CDC runtime-state entries that publish through the requested outbox.

IReadOnlyList<CdcCaptureRuntimeState> GetByOutboxId(string outboxId)

outboxId string

The outbox identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when no capture uses that outbox.

Gets the CDC runtime-state entries backed by the requested provider identifier.

IReadOnlyList<CdcCaptureRuntimeState> GetByProvider(string provider)

provider string

The provider identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when the provider contributes none.

GetByReporterCoordinationIssueReason(string)

Section titled “ GetByReporterCoordinationIssueReason(string)”

Gets the CDC runtime-state entries whose current reporter-coordination answer matches the requested degraded-reason identifier.

IReadOnlyList<CdcCaptureRuntimeState> GetByReporterCoordinationIssueReason(string degradedReason)

degradedReason string

The stable degraded-reason identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when no capture currently reports that degraded reason.

Gets the CDC runtime-state entries whose current reporter-coordination answer matches the requested state.

IReadOnlyList<CdcCaptureRuntimeState> GetByReporterCoordinationState(string coordinationState)

coordinationState string

The stable coordination-state identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when no capture currently reports that state.

Gets the CDC runtime-state entries whose current reporter-coordination story mentions the requested reporter.

IReadOnlyList<CdcCaptureRuntimeState> GetByReporterId(string reporterId)

reporterId string

The reporter identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when the reporter is not currently visible.

Gets the CDC runtime-state entries that explicitly observe the requested resource identifier.

IReadOnlyList<CdcCaptureRuntimeState> GetByResourceId(string resourceId)

resourceId string

The resource identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when no capture declares that resource.

Gets the CDC runtime-state entries that observe the requested logical source identifier.

IReadOnlyList<CdcCaptureRuntimeState> GetBySourceId(string sourceId)

sourceId string

The source identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when no capture uses that source.

Gets the CDC runtime-state entries contributed by the requested module.

IReadOnlyList<CdcCaptureRuntimeState> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The source module identifier to filter by.

IReadOnlyList<CdcCaptureRuntimeState>

The matching runtime states, or an empty list when the module contributed none.