LOG.info("Configuring " + ioWorkerCount + " IO workers");
IoThreadPoolFilter threadPoolFilter = (IoThreadPoolFilter) acceptor.getFilterChain().getChild("threadPool");
threadPoolFilter.setMaximumPoolSize(ioWorkerCount);
if (isLoggingTraffic) {
LOG.info("Configuring traffic logging filter");
IoFilter filter = new IoLoggingFilter();
acceptor.getFilterChain().addLast("LoggingFilter", filter);
}
//acceptor.getFilterChain().addLast("ThreadPoolFilter",
//new IoThreadPoolFilter("NIO-ThreadPool"));