192193194195196197198199200201202
executor = threadPool; } addBean(executor); if (byteBufferPool == null) byteBufferPool = new MappedByteBufferPool(); addBean(byteBufferPool); if (scheduler == null) scheduler = new ScheduledExecutorScheduler(name + "-scheduler", false); addBean(scheduler);
3233343536373839404142
executor = threadPool; scheduler = new ScheduledExecutorScheduler("http-client-" + name + "-scheduler", true); scheduler.start(); byteBufferPool = new MappedByteBufferPool(); } catch (Exception e) { close(); throw Throwables.propagate(e); }
4142434445464748495051
executor = threadPool; scheduler = new JettyScheduler(threadGroup, baseName + "-scheduler"); scheduler.start(); byteBufferPool = new MappedByteBufferPool(); } catch (Exception e) { close(); throw Throwables.propagate(e); }
194195196197198199200201202203204
193194195196197198199200201202203