public class HttpChannelPoolFactory extends java.lang.Object implements ChannelPoolFactory
AsyncPool<Channel> for Http Channels| Constructor and Description |
|---|
HttpChannelPoolFactory(java.util.concurrent.ScheduledExecutorService scheduler,
io.netty.channel.EventLoopGroup eventLoopGroup,
io.netty.channel.group.ChannelGroup channelGroup,
com.linkedin.r2.transport.http.client.AsyncPoolImpl.Strategy strategy,
javax.net.ssl.SSLContext sslContext,
javax.net.ssl.SSLParameters sslParameters,
int maxPoolSize,
int minPoolSize,
int maxPoolWaiterSize,
int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
int maxConcurrentConnectionInitializations,
long idleTimeout,
long maxContentLength,
boolean tcpNoDelay,
boolean enableSSLSessionResumption,
int channelPoolWaiterTimeout,
int connectTimeout,
int sslHandShakeTimeout) |
| Modifier and Type | Method and Description |
|---|---|
com.linkedin.r2.transport.http.client.AsyncPool<io.netty.channel.Channel> |
getPool(java.net.SocketAddress address)
Returns a new pool of Channels to a specific host.
|
public HttpChannelPoolFactory(java.util.concurrent.ScheduledExecutorService scheduler,
io.netty.channel.EventLoopGroup eventLoopGroup,
io.netty.channel.group.ChannelGroup channelGroup,
com.linkedin.r2.transport.http.client.AsyncPoolImpl.Strategy strategy,
javax.net.ssl.SSLContext sslContext,
javax.net.ssl.SSLParameters sslParameters,
int maxPoolSize,
int minPoolSize,
int maxPoolWaiterSize,
int maxInitialLineLength,
int maxHeaderSize,
int maxChunkSize,
int maxConcurrentConnectionInitializations,
long idleTimeout,
long maxContentLength,
boolean tcpNoDelay,
boolean enableSSLSessionResumption,
int channelPoolWaiterTimeout,
int connectTimeout,
int sslHandShakeTimeout)
public com.linkedin.r2.transport.http.client.AsyncPool<io.netty.channel.Channel> getPool(java.net.SocketAddress address)
ChannelPoolFactorygetPool in interface ChannelPoolFactory