C# Class EventStore.Projections.Core.Services.Management.ManagedProjection

managed projection controls start/stop/create/update/delete lifecycle of the projection.
Inheritance: IDisposable
Afficher le fichier Open project: EventStore/EventStore Class Usage Examples

Private Properties

Свойство Type Description
Abort void
CreateCreateAndPrepareMessage EventStore.Core.Messaging.Message
CreateDefaultProjectionConfiguration ProjectionConfig
CreatePreparedMessage EventStore.Projections.Core.Messages.CoreProjectionManagementMessage.CreatePrepared
Delete void
DeleteIfConditionsAreMet void
DeleteStream void
DeleteStreamCompleted void
Disable void
DisposeCoreProjection void
Enable void
FixUpOldFormat void
FixUpOldProjectionRunAs void
FixupOldProjectionModes void
IsExpiredProjection bool
LoadPersistedState void
LoadStopped void
PersistedStateReadCompleted void
Prepare void
ReadPersistedState void
Reply void
Reset void
SetLastReplyEnvelope void
SetRunAs void
SetState void
Start void
StartCompleted void
StartOrLoadStopped void
StopUnlessPreparedOrLoaded void
UpdateProjectionVersion void
UpdateQuery void
WritePersistedState void
WritePersistedStateCompleted void
WriteStartOrLoadStopped void

Méthodes publiques

Méthode Description
DeleteProjectionStreams ( ) : void
Dispose ( ) : void
Fault ( string reason ) : void
GetStatistics ( ) : ProjectionStatistics
Handle ( CoreProjectionStatusMessage message ) : void
Handle ( ProjectionManagementMessage message ) : void
InitializeExisting ( string name ) : void
InitializeNew ( PersistedState persistedState, IEnvelope replyEnvelope ) : void
ManagedProjection ( System.Guid workerId, System.Guid id, int projectionId, string name, bool enabledToRun, ILogger logger, ClientMessage.DeleteStreamCompleted>.RequestResponseDispatcher streamDispatcher, ClientMessage.WriteEventsCompleted>.RequestResponseDispatcher writeDispatcher, ClientMessage.ReadStreamEventsBackwardCompleted>.RequestResponseDispatcher readDispatcher, IPublisher output, ITimeProvider timeProvider, CoreProjectionStatusMessage.StateReport>.RequestResponseDispatcher getStateDispatcher, CoreProjectionStatusMessage.ResultReport>.RequestResponseDispatcher getResultDispatcher, IODispatcher ioDispatcher, bool isSlave = false, System.Guid slaveMasterWorkerId = default(Guid), System.Guid slaveMasterCorrelationId = default(Guid) ) : System
PrepareOrWriteStartOrLoadStopped ( ) : void

Private Methods

Méthode Description
Abort ( ) : void
CreateCreateAndPrepareMessage ( ProjectionConfig config ) : EventStore.Core.Messaging.Message
CreateDefaultProjectionConfiguration ( ) : ProjectionConfig
CreatePreparedMessage ( ProjectionConfig config ) : EventStore.Projections.Core.Messages.CoreProjectionManagementMessage.CreatePrepared
Delete ( ) : void
DeleteIfConditionsAreMet ( ) : void
DeleteStream ( string streamId, System.Action completed ) : void
DeleteStreamCompleted ( ClientMessage message, string streamId, System.Action completed ) : void
Disable ( ) : void
DisposeCoreProjection ( ) : void
Enable ( ) : void
FixUpOldFormat ( ClientMessage completed, PersistedState persistedState ) : void
FixUpOldProjectionRunAs ( PersistedState persistedState ) : void
FixupOldProjectionModes ( PersistedState persistedState ) : void
IsExpiredProjection ( ) : bool
LoadPersistedState ( PersistedState persistedState ) : void
LoadStopped ( ) : void
PersistedStateReadCompleted ( ClientMessage completed ) : void
Prepare ( ProjectionConfig config, EventStore.Core.Messaging.Message message ) : void
ReadPersistedState ( string name ) : void
Reply ( ) : void
Reset ( ) : void
SetLastReplyEnvelope ( IEnvelope envelope ) : void
SetRunAs ( ProjectionManagementMessage message ) : void
SetState ( ManagedProjectionState value ) : void
Start ( ) : void
StartCompleted ( ) : void
StartOrLoadStopped ( ) : void
StopUnlessPreparedOrLoaded ( ) : void
UpdateProjectionVersion ( bool force = false ) : void
UpdateQuery ( ProjectionManagementMessage message ) : void
WritePersistedState ( ) : void
WritePersistedStateCompleted ( ClientMessage message, string eventStreamId ) : void
WriteStartOrLoadStopped ( ) : void

Method Details

DeleteProjectionStreams() public méthode

public DeleteProjectionStreams ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Fault() public méthode

public Fault ( string reason ) : void
reason string
Résultat void

GetStatistics() public méthode

public GetStatistics ( ) : ProjectionStatistics
Résultat ProjectionStatistics

Handle() public méthode

public Handle ( CoreProjectionStatusMessage message ) : void
message CoreProjectionStatusMessage
Résultat void

Handle() public méthode

public Handle ( ProjectionManagementMessage message ) : void
message ProjectionManagementMessage
Résultat void

InitializeExisting() public méthode

public InitializeExisting ( string name ) : void
name string
Résultat void

InitializeNew() public méthode

public InitializeNew ( PersistedState persistedState, IEnvelope replyEnvelope ) : void
persistedState PersistedState
replyEnvelope IEnvelope
Résultat void

ManagedProjection() public méthode

public ManagedProjection ( System.Guid workerId, System.Guid id, int projectionId, string name, bool enabledToRun, ILogger logger, ClientMessage.DeleteStreamCompleted>.RequestResponseDispatcher streamDispatcher, ClientMessage.WriteEventsCompleted>.RequestResponseDispatcher writeDispatcher, ClientMessage.ReadStreamEventsBackwardCompleted>.RequestResponseDispatcher readDispatcher, IPublisher output, ITimeProvider timeProvider, CoreProjectionStatusMessage.StateReport>.RequestResponseDispatcher getStateDispatcher, CoreProjectionStatusMessage.ResultReport>.RequestResponseDispatcher getResultDispatcher, IODispatcher ioDispatcher, bool isSlave = false, System.Guid slaveMasterWorkerId = default(Guid), System.Guid slaveMasterCorrelationId = default(Guid) ) : System
workerId System.Guid
id System.Guid
projectionId int
name string
enabledToRun bool
logger ILogger
streamDispatcher ClientMessage.DeleteStreamCompleted>.RequestResponseDispatcher
writeDispatcher ClientMessage.WriteEventsCompleted>.RequestResponseDispatcher
readDispatcher ClientMessage.ReadStreamEventsBackwardCompleted>.RequestResponseDispatcher
output IPublisher
timeProvider ITimeProvider
getStateDispatcher CoreProjectionStatusMessage.StateReport>.RequestResponseDispatcher
getResultDispatcher CoreProjectionStatusMessage.ResultReport>.RequestResponseDispatcher
ioDispatcher IODispatcher
isSlave bool
slaveMasterWorkerId System.Guid
slaveMasterCorrelationId System.Guid
Résultat System

PrepareOrWriteStartOrLoadStopped() public méthode

public PrepareOrWriteStartOrLoadStopped ( ) : void
Résultat void