Interface ISagaChoreographyPublicationRuntimeStateCatalog
Namespace: Cephalon.Abstractions.Execution
Assembly: Cephalon.Abstractions.dll
Exposes the operator-facing live saga-choreography publication state currently reported for the active runtime.
public interface ISagaChoreographyPublicationRuntimeStateCatalogProperties
Section titled “Properties”States
Section titled “ States”Gets the reported choreography publication-state entries visible to the current runtime.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> States { get; }Property Value
Section titled “Property Value”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
Methods
Section titled “Methods”GetByBehaviorId(string)
Section titled “ GetByBehaviorId(string)”Gets the reported publication-state entries for one choreography behavior.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> GetByBehaviorId(string behaviorId)Parameters
Section titled “Parameters”behaviorId string
The stable choreography behavior identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
The matching publication-state entries, or an empty list when the behavior has not reported live publication state.
GetByChannelId(string)
Section titled “ GetByChannelId(string)”Gets the reported publication-state entries that targeted the requested channel.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> GetByChannelId(string channelId)Parameters
Section titled “Parameters”channelId string
The logical channel identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
The matching publication-state entries, or an empty list when no publication targeted that channel.
GetByCorrelationId(string)
Section titled “ GetByCorrelationId(string)”Gets the reported publication-state entries associated with one correlation identifier.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> GetByCorrelationId(string correlationId)Parameters
Section titled “Parameters”correlationId string
The correlation identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
The matching publication-state entries, or an empty list when none reported that correlation.
GetById(string)
Section titled “ GetById(string)”Gets the latest reported publication state for one choreography publication path.
SagaChoreographyPublicationRuntimeState? GetById(string id)Parameters
Section titled “Parameters”id string
The stable runtime-state identifier to resolve.
Returns
Section titled “Returns”SagaChoreographyPublicationRuntimeState?
The latest reported publication state, or null when that identifier has not reported choreography runtime state.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets the reported publication-state entries contributed by one source module.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The source module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
The matching publication-state entries, or an empty list when the module has not reported live publication state.
GetByTransportId(string)
Section titled “ GetByTransportId(string)”Gets the reported publication-state entries exposed over one transport.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> GetByTransportId(string transportId)Parameters
Section titled “Parameters”transportId string
The stable transport identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
The matching publication-state entries, or an empty list when none reported live publication state for that transport.
GetCompensationPublications()
Section titled “ GetCompensationPublications()”Gets the reported publication-state entries that currently represent compensation work.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> GetCompensationPublications()Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
The matching compensation publication-state entries, or an empty list when none reported compensation posture.
GetFailedPublications()
Section titled “ GetFailedPublications()”Gets the reported publication-state entries whose latest observation is failed.
IReadOnlyList<SagaChoreographyPublicationRuntimeState> GetFailedPublications()Returns
Section titled “Returns”IReadOnlyList<SagaChoreographyPublicationRuntimeState>
The matching failed publication-state entries, or an empty list when none currently report a failed posture.
TryGetById(string, out SagaChoreographyPublicationRuntimeState?)
Section titled “ TryGetById(string, out SagaChoreographyPublicationRuntimeState?)”Tries to get the latest reported publication state for one choreography publication path.
bool TryGetById(string id, out SagaChoreographyPublicationRuntimeState? state)Parameters
Section titled “Parameters”id string
The stable runtime-state identifier to resolve.
state SagaChoreographyPublicationRuntimeState?
Receives the latest reported publication state when that identifier has reported one.