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