@Override public AsyncPool<Channel> getPool(SocketAddress address) { return new AsyncPoolImpl<>(address.toString(), new ChannelPoolLifecycle(address, _bootstrap, _allChannels, false), _maxPoolSize, _idleTimeout, _scheduler, _maxPoolWaiterSize, _strategy, _minPoolSize, new ExponentialBackOffRateLimiter(0, ChannelPoolLifecycle.MAX_PERIOD_BEFORE_RETRY_CONNECTIONS, ChannelPoolLifecycle.INITIAL_PERIOD_BEFORE_RETRY_CONNECTIONS, _scheduler, _maxConcurrentConnectionInitializations), SystemClock.instance(), NoopLongTracker.instance() ); }
@Override public AsyncPool<Channel> getPool(SocketAddress address) { return new AsyncPoolImpl<>(address.toString(), new ChannelPoolLifecycle(address, _bootstrap, _allChannels, _tcpNoDelay), _maxPoolSize, _idleTimeout, _scheduler, _maxPoolWaiterSize, _strategy, _minPoolSize, new ExponentialBackOffRateLimiter(0, ChannelPoolLifecycle.MAX_PERIOD_BEFORE_RETRY_CONNECTIONS, ChannelPoolLifecycle.INITIAL_PERIOD_BEFORE_RETRY_CONNECTIONS, _scheduler, _maxConcurrentConnectionInitializations), SystemClock.instance(), NoopLongTracker.instance() ); } }