public void Handle(ProjectionCoreServiceMessage.StartCore message) { _cancellationScope = new IODispatcherAsync.CancellationScope(); Log.Debug("PROJECTIONS: Starting Projection Core Reader (reads from $projections-${0})", _coreServiceId); _stopped = false; StartCoreSteps(message).Run(); }
public void Reset() { Log.Debug("PROJECTIONS: Resetting Worker Writer"); _cancellationScope.Cancel(); _cancellationScope = new IODispatcherAsync.CancellationScope(); _queues.Clear(); }
public void Handle(ProjectionCoreServiceMessage.StartCore message) { DebugLogger.Log("starting projection core reader"); _cancellationScope = new IODispatcherAsync.CancellationScope(); _stopped = false; StartCoreSteps().Run(); ControlSteps().Run(); }
public void Reset() { _logger.Debug("PROJECTIONS: Resetting Master Writer"); _cancellationScope.Cancel(); _cancellationScope = new IODispatcherAsync.CancellationScope(); Items.Clear(); Busy = false; }
public void Handle(ProjectionManagementMessage.Starting message) { if (_cancellationScope != null) { Log.Debug("PROJECTIONS: There was an active cancellation scope, cancelling now"); _cancellationScope.Cancel(); } _cancellationScope = new IODispatcherAsync.CancellationScope(); Log.Debug("PROJECTIONS: Starting Projection Manager Response Reader (reads from $projections-$master)"); PerformStartReader().Run(); }
public void Start() { _cancellationScope = new IODispatcherAsync.CancellationScope(); StartReaderSteps().Run(); }
public MultiStreamMessageWriter(IODispatcher ioDispatcher) { _ioDispatcher = ioDispatcher; _cancellationScope = new IODispatcherAsync.CancellationScope(); }
public ResponseWriter(IODispatcher ioDispatcher) { _ioDispatcher = ioDispatcher; _cancellationScope = new IODispatcherAsync.CancellationScope(); }
public void Handle(ProjectionManagementMessage.Starting message) { _cancellationScope = new IODispatcherAsync.CancellationScope(); PerformStartReader().Run(); }