protected synchronized void configExecutors() { if (shared) { handleExecutors = false; isExecutorShared = true; isAsyncExecutorShared = true; } executorService = ExecutorsFactory.getMessageDispatcher(config, broadcasterId); asyncWriteService = ExecutorsFactory.getAsyncOperationExecutor(config, broadcasterId); scheduler = ExecutorsFactory.getScheduler(config); }
executorService = ExecutorsFactory.getAsyncOperationExecutor(config, Broadcaster.ROOT_MASTER); if (executorService != null) { if (ThreadPoolExecutor.class.isAssignableFrom(executorService.getClass())) {
asyncExecutor = ExecutorsFactory.getAsyncOperationExecutor(config, "WebSocket"); } else { asyncExecutor = VoidExecutorService.VOID;