workerExecutor = thriftServerDef.getExecutor();
acceptorExecutor = nettyServerConfig.getBossExecutor();
acceptorThreads = nettyServerConfig.getBossThreadCount();
ioExecutor = nettyServerConfig.getWorkerExecutor();
ioThreads = nettyServerConfig.getWorkerThreadCount();
serverChannelFactory = new NioServerSocketChannelFactory(new NioServerBossPool(acceptorExecutor, acceptorThreads, ThreadNameDeterminer.CURRENT),
new NioWorkerPool(ioExecutor, ioThreads, ThreadNameDeterminer.CURRENT));
transport = new NettyServerTransport(thriftServerDef, nettyServerConfig, allChannels);
}