311312313314315316317318319320321
bossExecutor = new VirtualExecutorService(threadPool); VirtualExecutorService workerExecutor = new VirtualExecutorService(threadPool); if (useInvm) { channelFactory = new DefaultLocalServerChannelFactory(); } else if (useNio) { int threadsToUse;