-
Configures the connection pool
Specifies what happens when asking for a connection from a server's pool, and that pool is
exhausted.
ConnectionPoolConfigurationBuilder.maxActive(int maxActive)
Controls the maximum number of connections per server that are allocated (checked out to
client threads, or idle in the pool) at one time.
ConnectionPoolConfigurationBuilder.maxIdle(int maxIdle)
Deprecated, for removal: This API element is subject to removal in a future version.
Specifies maximum number of requests sent over single connection at one instant.
ConnectionPoolConfigurationBuilder.maxTotal(int maxTotal)
Deprecated, for removal: This API element is subject to removal in a future version.
ConnectionPoolConfigurationBuilder.maxWait(int maxWait)
Specifies the minimum amount of time that an connection may sit idle in the pool before it is
eligible for eviction due to idle time.
ConnectionPoolConfigurationBuilder.minIdle(int minIdle)
Sets a target value for the minimum number of idle connections (per server) that should always
be available.
ConnectionPoolConfigurationBuilder.testWhileIdle(boolean testWhileIdle)
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.