Class ProjectionHandler
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents an implementation of IProjectionHandler.
public class ProjectionHandler : IProjectionHandler
- Inheritance
-
ProjectionHandler
- Implements
- Inherited Members
- Extension Methods
Constructors
ProjectionHandler(IEventStore, ProjectionId, EventSequenceId)
Represents an implementation of IProjectionHandler.
public ProjectionHandler(IEventStore eventStore, ProjectionId projectionId, EventSequenceId eventSequenceId)
Parameters
eventStore
IEventStoreThe event store to use.
projectionId
ProjectionIdThe identifier of the projection.
eventSequenceId
EventSequenceIdThe event sequence identifier.
Properties
Id
Gets the identifier of the projection.
public ProjectionId Id { get; }
Property Value
Methods
GetFailedPartitions()
Get any failed partitions for a specific reducer.
public Task<IEnumerable<FailedPartition>> GetFailedPartitions()
Returns
- Task<IEnumerable<FailedPartition>>
Collection of FailedPartition, if any.
GetState()
Get the current state of the reducer.
public Task<ProjectionState> GetState()
Returns
- Task<ProjectionState>
The current ProjectionState.