Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
 public void Reset()
 {
     Log.Debug("PROJECTIONS: Resetting Worker Writer");
     _cancellationScope.Cancel();
     _cancellationScope = new IODispatcherAsync.CancellationScope();
     _queues.Clear();
 }
 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();
 }
Ejemplo n.º 5
0
 public void Reset()
 {
     _logger.Debug("PROJECTIONS: Resetting Master Writer");
     _cancellationScope.Cancel();
     _cancellationScope = new IODispatcherAsync.CancellationScope();
     Items.Clear();
     Busy = false;
 }
Ejemplo n.º 6
0
 public void Reset()
 {
     _logger.Debug("PROJECTIONS: Resetting Master Writer");
     _cancellationScope.Cancel();
     _cancellationScope = new IODispatcherAsync.CancellationScope();
     Items.Clear();
     Busy = false;
 }
Ejemplo n.º 7
0
 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();
 }
Ejemplo n.º 8
0
 public void Start()
 {
     _cancellationScope = new IODispatcherAsync.CancellationScope();
     StartReaderSteps().Run();
 }
Ejemplo n.º 9
0
 public MultiStreamMessageWriter(IODispatcher ioDispatcher)
 {
     _ioDispatcher      = ioDispatcher;
     _cancellationScope = new IODispatcherAsync.CancellationScope();
 }
Ejemplo n.º 10
0
 public ResponseWriter(IODispatcher ioDispatcher)
 {
     _ioDispatcher      = ioDispatcher;
     _cancellationScope = new IODispatcherAsync.CancellationScope();
 }
 public void Start()
 {
     _cancellationScope = new IODispatcherAsync.CancellationScope();
     StartReaderSteps().Run();
 }
 public void Handle(ProjectionManagementMessage.Starting message)
 {
     _cancellationScope = new IODispatcherAsync.CancellationScope();
     PerformStartReader().Run();
 }
Ejemplo n.º 13
0
 public ResponseWriter(IODispatcher ioDispatcher)
 {
     _ioDispatcher = ioDispatcher;
     _cancellationScope = new IODispatcherAsync.CancellationScope();
 }
 public MultiStreamMessageWriter(IODispatcher ioDispatcher)
 {
     _ioDispatcher = ioDispatcher;
     _cancellationScope = new IODispatcherAsync.CancellationScope();
 }