public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { if (_stopped) { return; } RequestRestart(message.Reason); }
public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { CoreProjection projection; if (_projections.TryGetValue(message.ProjectionId, out projection)) { projection.Handle(message); } }
public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { _logger.Info( "Projection '{0}'({1}) restart has been requested due to: '{2}'", _name, _projectionCorrelationId, message.Reason); // EnsureUnsubscribed(); GoToState(State.Initial); Start(); }
public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { _logger.Info( "Projection '{0}'({1}) restart has been requested due to: '{2}'", _name, _projectionCorrelationId, message.Reason); if (_state != State.Running) { SetFaulted( string.Format( "A concurrency violation was detected, but the projection is not running. Current state is: {0}. The reason for the restart is: '{1}' ", _state, message.Reason)); return; } // EnsureUnsubscribed(); StopSlaveProjections(); GoToState(State.Initial); Start(); }
public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { throw new System.NotImplementedException(); }
public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { _readyHandler.Handle(message); }
public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { HandledRestartRequestedMessages.Add(message); }
public void Handle(CoreProjectionProcessingMessage.RestartRequested message) { RequestRestart(message.Reason); }