this.executorService = executorService; } else { PrefixIncrementThreadFactory threadFactory = new PrefixIncrementThreadFactory( getNameOrDefault() + "-"); this.executorService = Executors.newCachedThreadPool(threadFactory);
ExecutorService e = nettyConfig.getBossExecutorService(); if (e == null) { ThreadFactory threadFactory = new PrefixIncrementThreadFactory( config.getNameOrDefault() + "-boss-"); e = Executors.newCachedThreadPool(threadFactory);