Ejemplo n.º 1
0
 private Context createWorkerContext() {
   getBackgroundPool();
   return new WorkerContext(this, orderedFact.getExecutor());
 }
Ejemplo n.º 2
0
 public Context createEventLoopContext() {
   getBackgroundPool();
   NioWorker worker = getCorePool().nextWorker();
   return new EventLoopContext(this, orderedFact.getExecutor(), worker);
 }