/** * Create an {@link AbstractPollingIoProcessor} with the given {@link Executor} * for handling I/Os events. * * @param executor the {@link Executor} for handling I/O events */ protected AbstractPollingIoProcessor(Executor executor) { if (executor == null) { throw new NullPointerException("executor"); } this.threadName = nextThreadName(); this.executor = executor; }
/** * Create an {@link AbstractPollingIoProcessor} with the given * {@link Executor} for handling I/Os events. * * @param executor * the {@link Executor} for handling I/O events */ protected AbstractPollingIoProcessor(Executor executor) { if (executor == null) { throw new IllegalArgumentException("executor"); } this.threadName = nextThreadName(); this.executor = executor; }
/** * Create an {@link AbstractPollingIoProcessor} with the given * {@link Executor} for handling I/Os events. * * @param executor * the {@link Executor} for handling I/O events */ protected AbstractPollingIoProcessor(Executor executor) { if (executor == null) { throw new IllegalArgumentException("executor"); } this.threadName = nextThreadName(); this.executor = executor; }