Namespace Cratis.Chronicle.ReadModels

Classes

AmbiguousReadModelBuilder

The exception that is thrown when a self-reducing read model has conflicting builder ownership.

DecisionConflict

A concurrency conflict for a protected read.

DecisionReadAdmission

The result of checking a model's projection shape without I/O.

DecisionReadAfterCompletion

Thrown when a decision read is enrolled after the transaction completed.

DecisionReadDescription

Describes local decision-read admission without contacting the kernel.

DecisionReadExtensions

Additive entry points for guarded appends and non-DI reads.

DecisionReadRefused

Thrown before enrollment when a decision read cannot be protected.

DecisionReadRequiresUnitOfWork

Thrown when the ambient unit of work does not exist.

DecisionReadTargetMismatch

Thrown when a protected read belongs to a different event store, namespace or sequence.

DecisionReadValidateOnlyNotSupported

An older kernel rejected a validate-only decision append; the decision was not validated.

DecisionRead<T>

A present or absent read model together with its decision guard.

DecisionReads

Client-side implementation of decision-consistent reads.

EventStreamAttribute<TSource>

Declares a source-keyed read model whose state is folded from one event stream.

IndexAttribute

Attribute for specifying that a property on a read model should be indexed.

InstanceCount

Represents a count of instances to retrieve or watch.

InstanceCountToSkip

Represents a count of instances to skip when retrieving or watching read model instances.

InvalidEventStreamReadModel

The exception that is thrown when a read model's event stream declaration is invalid.

MaterializedAttribute

Marks a IReadModelReactor to watch through the materialized read model API rather than the change-stream API.

MaterializedReadModelChange

Represents a single change detected when diffing successive materialized read model windows.

MaterializedReadModelDiffer

Detects added, modified and removed read model instances by diffing successive materialized windows.

MaterializedReadModels

Represents an implementation of IMaterializedReadModels.

NullReadModelReactors

Represents a no-op implementation of IReadModelReactors for testing scenarios where read model reactors are not exercised.

PassiveAttribute

Marks a projection as passive, meaning it won't actively observe.

ProtectedUnitOfWorkRequiresOwner

Thrown when an application attempts to complete a protected unit of work without its owner.

ReadModelCannotBeObserved

The exception that is thrown when a read model has no observable collection.

ReadModelChangesetExtensions

Extension methods for converting observables of ReadModelChangeset<TReadModel> to subjects.

ReadModelChangeset<TReadModel>

Represents the changeset for a read model.

ReadModelContainerName

Represents the storage container name of a read model (collection, table, etc.).

ReadModelDisplayName

Represents the display name of a read model.

ReadModelExtensions

Extension methods for working with read models.

ReadModelGeneration

Represents the generation of a read model.

ReadModelIdentifier

Represents the unique identifier of a read model.

ReadModelJsonSerialization

Serialization semantics a read model is read back with.

ReadModelKey

Represents the unique identifier of an instance of an event source.

ReadModelObservation<TReadModel>

Replays the latest collection while owning the lifetime of a dedicated read model stream.

ReadModelReactorInvoker

Represents an implementation of IReadModelReactorInvoker.

ReadModelReactorMethod

Represents a discovered handler method on a IReadModelReactor.

ReadModelReactorMethods

Discovers the convention-based handler methods on a IReadModelReactor.

ReadModelReactors

Represents an implementation of IReadModelReactors.

ReadModelSessionId

Represents the unique identifier of a read model session.

ReadModelSnapshot<TReadModel>

Represents a snapshot of a read model at a specific point in time grouped by CorrelationId.

ReadModelSubjectResolver

Resolves a Subject from a read model instance by checking for a property or constructor parameter decorated with SubjectAttribute that has a value, falling back to a property named Id.

ReadModelTypeExtensions

Extensions for working with read model types.

ReadModelWatcherFactory

Represents an implementation of IReadModelWatcherFactory.

ReadModelWatcherManager

Represents an implementation of IReadModelWatcherManager.

ReadModelWatcher<TReadModel>

Represents an implementation of IReadModelWatcher<TReadModel>.

ReadModels

Represents an implementation of IReadModels.

UnitOfWorkDecisionReadsNotSupported

Thrown when a unit of work implementation cannot enroll decision reads.

UnknownReadModel

Exception that gets thrown when a read model type is not known by projections or reducers.

UnprotectedDecisionRead

Thrown when an unprotected read is enrolled as a dependency.

Interfaces

IDecisionRead

A read that can be enrolled as a decision dependency.

IDecisionReads

Reads models with guards for a subsequent append.

IHaveReadModel

Defines a type that has a read model.

IMaterializedReadModels

Defines a system for working with materialized read model instances.

IReadModelReactor

Marker interface for a read model reactor — a type that reacts to read model instances being added, modified or removed.

IReadModelReactorInvoker

Defines a system that invokes a IReadModelReactor handler method for a read model change.

IReadModelReactors

Defines a system that discovers IReadModelReactor implementations and subscribes them to read model changes.

IReadModelWatcher

Defines a watcher for a read model.

IReadModelWatcherFactory

Defines a factory for creating IReadModelWatcher<TReadModel>.

IReadModelWatcherManager

Defines a manager for IReadModelWatcher.

IReadModelWatcher<TReadModel>

Defines a watcher for a read model.

IReadModels

Defines a system that works with read models in the system.

Enums

DecisionReadRefusalReason

Reasons a read cannot safely be used as a decision dependency.

ReadModelChangeType

Represents the type of change that occurred to a read model instance.