C# Class EventStore.Projections.Core.Services.Processing.CoreProjectionCheckpointWriter

Show file Open project: EventStore/EventStore Class Usage Examples

Public Methods

Method Description
BeginWriteCheckpoint ( IEnvelope envelope, CheckpointTag requestedCheckpointPosition, string requestedCheckpointState ) : void
CoreProjectionCheckpointWriter ( string projectionCheckpointStreamId, IODispatcher ioDispatcher, ProjectionVersion projectionVersion, string name ) : System
GetStatistics ( ProjectionStatistics info ) : void
Initialize ( ) : void
StartFrom ( CheckpointTag checkpointTag, int checkpointEventNumber ) : void

Private Methods

Method Description
CreateStreamMetadataEvent ( ) : Event
PublishWriteCheckpointEvent ( ) : void
PublishWriteStreamMetadata ( ) : void
PublishWriteStreamMetadataAndCheckpointEvent ( ) : void
WriteCheckpointEventCompleted ( string eventStreamId, OperationResult operationResult, int firstWrittenEventNumber ) : void

Method Details

BeginWriteCheckpoint() public method

public BeginWriteCheckpoint ( IEnvelope envelope, CheckpointTag requestedCheckpointPosition, string requestedCheckpointState ) : void
envelope IEnvelope
requestedCheckpointPosition CheckpointTag
requestedCheckpointState string
return void

CoreProjectionCheckpointWriter() public method

public CoreProjectionCheckpointWriter ( string projectionCheckpointStreamId, IODispatcher ioDispatcher, ProjectionVersion projectionVersion, string name ) : System
projectionCheckpointStreamId string
ioDispatcher IODispatcher
projectionVersion ProjectionVersion
name string
return System

GetStatistics() public method

public GetStatistics ( ProjectionStatistics info ) : void
info ProjectionStatistics
return void

Initialize() public method

public Initialize ( ) : void
return void

StartFrom() public method

public StartFrom ( CheckpointTag checkpointTag, int checkpointEventNumber ) : void
checkpointTag CheckpointTag
checkpointEventNumber int
return void