static ConnectionConfig.Builder |
ConnectionConfig.copy(ConnectionConfig config) |
|
static ConnectionConfig.Builder |
ConnectionConfig.custom() |
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setConnectTimeout(long connectTimeout,
java.util.concurrent.TimeUnit timeUnit) |
Sets the timeout until a new connection is fully established.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setConnectTimeout(org.apache.hc.core5.util.Timeout connectTimeout) |
Sets the timeout until a new connection is fully established.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setIdleTimeout(long idleTimeout,
java.util.concurrent.TimeUnit timeUnit) |
Sets the maximum period of idleness for a connection.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setIdleTimeout(org.apache.hc.core5.util.Timeout idleTimeout) |
Determines the maximum period of idleness for a connection.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setSocketTimeout(int soTimeout,
java.util.concurrent.TimeUnit timeUnit) |
Sets the default socket timeout value for I/O operations on connections created by this configuration.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setSocketTimeout(org.apache.hc.core5.util.Timeout soTimeout) |
Sets the default socket timeout value for I/O operations on
connections created by this configuration.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setTimeToLive(long timeToLive,
java.util.concurrent.TimeUnit timeUnit) |
Sets the total span of time connections can be kept alive or execute requests.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setTimeToLive(org.apache.hc.core5.util.TimeValue timeToLive) |
Defines the total span of time connections can be kept alive or execute requests.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setValidateAfterInactivity(long validateAfterInactivity,
java.util.concurrent.TimeUnit timeUnit) |
Sets the period of inactivity after which persistent connections must be re-validated prior to being leased to the consumer.
|
ConnectionConfig.Builder |
ConnectionConfig.Builder.setValidateAfterInactivity(org.apache.hc.core5.util.TimeValue validateAfterInactivity) |
Sets the period of inactivity after which persistent connections must
be re-validated prior to being leased to the consumer.
|