Interface IEventPublicationRuntimeCatalog
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Exposes operator-facing runtime state reported by event-publication paths.
public interface IEventPublicationRuntimeCatalogProperties
Section titled “Properties”States
Section titled “ States”Gets the reported publication-state entries visible to the current runtime.
IReadOnlyList<EventPublicationRuntimeState> States { get; }Property Value
Section titled “Property Value”IReadOnlyList<EventPublicationRuntimeState>
Methods
Section titled “Methods”GetByChannelId(string)
Section titled “ GetByChannelId(string)”Gets the reported publication states for one channel identifier.
IReadOnlyList<EventPublicationRuntimeState> GetByChannelId(string channelId)Parameters
Section titled “Parameters”channelId string
The stable channel identifier to resolve.
Returns
Section titled “Returns”IReadOnlyList<EventPublicationRuntimeState>
The reported states for the channel, ordered by publication identifier.
GetByPublicationId(string)
Section titled “ GetByPublicationId(string)”Gets the latest reported publication state for one publication id.
EventPublicationRuntimeState? GetByPublicationId(string publicationId)Parameters
Section titled “Parameters”publicationId string
The stable publication identifier to resolve.
Returns
Section titled “Returns”The latest reported state, or null when that publication has not reported runtime state.
TryGet(string, out EventPublicationRuntimeState?)
Section titled “ TryGet(string, out EventPublicationRuntimeState?)”Tries to get the latest reported publication state for one publication id.
bool TryGet(string publicationId, out EventPublicationRuntimeState? state)Parameters
Section titled “Parameters”publicationId string
The stable publication identifier to resolve.
state EventPublicationRuntimeState?
Receives the latest reported state when one exists.