private void Accept(RequestContext command)
 {
     _commandBuffer.Add(command);
     if (_commandBuffer.Count == BatchSize) Go();
 }
Beispiel #2
0
 private void ExecuteQuery(RequestContext queryContext)
 {
     var result = _kernel.Execute((Query) queryContext.Transaction);
     queryContext.Initiator.Tell(result, Context.Parent);
 }