PoolingAsyncClientConnectionManager instances.
When a particular component is not explicitly set this class will
use its default implementation. System properties will be taken
into account when configuring the default implementations when
useSystemProperties() method is called prior to calling
build().
| Modifier and Type | Field and Description |
|---|---|
| private Resolver | |
| private DnsResolver | |
| private int | |
| private int | |
| private PoolConcurrencyPolicy | |
| private PoolReusePolicy | |
| private SchemePortResolver | |
| private boolean | |
| private Resolver | |
| private TlsStrategy |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| connectionConfigResolver | back to summary |
|---|---|
| private Resolver<HttpRoute, ConnectionConfig> connectionConfigResolver | |
| dnsResolver | back to summary |
|---|---|
| private DnsResolver dnsResolver | |
| maxConnPerRoute | back to summary |
|---|---|
| private int maxConnPerRoute | |
| maxConnTotal | back to summary |
|---|---|
| private int maxConnTotal | |
| poolConcurrencyPolicy | back to summary |
|---|---|
| private PoolConcurrencyPolicy poolConcurrencyPolicy | |
| poolReusePolicy | back to summary |
|---|---|
| private PoolReusePolicy poolReusePolicy | |
| schemePortResolver | back to summary |
|---|---|
| private SchemePortResolver schemePortResolver | |
| systemProperties | back to summary |
|---|---|
| private boolean systemProperties | |
| tlsConfigResolver | back to summary |
|---|---|
| private Resolver<HttpHost, TlsConfig> tlsConfigResolver | |
| tlsStrategy | back to summary |
|---|---|
| private TlsStrategy tlsStrategy | |
| PoolingAsyncClientConnectionManagerBuilder | back to summary |
|---|---|
| pack-priv PoolingAsyncClientConnectionManagerBuilder() | |
| build | back to summary |
|---|---|
| public PoolingAsyncClientConnectionManager build() | |
| create | back to summary |
|---|---|
| public static PoolingAsyncClientConnectionManagerBuilder create() | |
| setConnectionConfigResolver | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setConnectionConfigResolver(final Resolver<HttpRoute, ConnectionConfig> connectionConfigResolver) Assigns
| |
| setConnectionTimeToLive | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setConnectionTimeToLive(final TimeValue timeToLive)
Deprecated Sets maximum time to live for persistent connections
| |
| setConnPoolPolicy | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setConnPoolPolicy(final PoolReusePolicy poolReusePolicy) Assigns | |
| setDefaultConnectionConfig | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setDefaultConnectionConfig(final ConnectionConfig config) Assigns the same
| |
| setDefaultTlsConfig | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setDefaultTlsConfig(final TlsConfig config) Assigns the same
| |
| setDnsResolver | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setDnsResolver(final DnsResolver dnsResolver) Assigns | |
| setMaxConnPerRoute | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setMaxConnPerRoute(final int maxConnPerRoute) Assigns maximum connection per route value. | |
| setMaxConnTotal | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setMaxConnTotal(final int maxConnTotal) Assigns maximum total connection value. | |
| setPoolConcurrencyPolicy | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setPoolConcurrencyPolicy(final PoolConcurrencyPolicy poolConcurrencyPolicy) Assigns | |
| setSchemePortResolver | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setSchemePortResolver(final SchemePortResolver schemePortResolver) Assigns | |
| setTlsConfigResolver | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setTlsConfigResolver(final Resolver<HttpHost, TlsConfig> tlsConfigResolver) Assigns
| |
| setTlsStrategy | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setTlsStrategy(final TlsStrategy tlsStrategy) Assigns | |
| setValidateAfterInactivity | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder setValidateAfterInactivity(final TimeValue validateAfterInactivity)
Deprecated Sets period after inactivity after which persistent connections must be checked to ensure they are still valid.
| |
| useSystemProperties | back to summary |
|---|---|
| public final PoolingAsyncClientConnectionManagerBuilder useSystemProperties() Use system properties when creating and configuring default implementations. | |