public ProcessAsyncEventsJobHandler(IAsyncEventWorker asyncEventWorker,
                                     IAsyncEventPipelineConfiguration asyncEventPipelineConfiguration,
                                     IInMemoryJobScheduler jobScheduler)
 {
     this.asyncEventWorker = asyncEventWorker;
     this.asyncEventPipelineConfiguration = asyncEventPipelineConfiguration;
     this.jobScheduler = jobScheduler;
 }
Exemplo n.º 2
0
 public AsyncEventProcessor(Func <IAsyncEventWorker> asyncEventWorkerFunc,
                            IAsyncEventQueueManager asyncEventQueueManager,
                            IInMemoryJobScheduler jobScheduler,
                            IAsyncEventPipelineConfiguration asyncEventPipelineConfiguration)
 {
     this.asyncEventWorkerFunc            = asyncEventWorkerFunc;
     this.asyncEventQueueManager          = asyncEventQueueManager;
     this.jobScheduler                    = jobScheduler;
     this.asyncEventPipelineConfiguration = asyncEventPipelineConfiguration;
 }
Exemplo n.º 3
0
 public AsyncEventExecutionCatchUp(IEventSourceCatchUp[] eventSourceCatchUps,
                                   IAsyncEventQueueManager asyncEventQueueManager,
                                   IAsyncEventPipelineConfiguration asyncEventPipelineConfiguration,
                                   Func <IAsyncEventWorker> asyncEventWorkerFunc)
 {
     this.eventSourceCatchUps             = eventSourceCatchUps;
     this.asyncEventQueueManager          = asyncEventQueueManager;
     this.asyncEventPipelineConfiguration = asyncEventPipelineConfiguration;
     this.asyncEventWorkerFunc            = asyncEventWorkerFunc;
 }