static ConnectionPoolProperties.Builder |
ConnectionPoolProperties.builder() |
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.Builder.connectionTimeoutMs(long connectionTimeoutMs) |
The maximum amount of time (in milliseconds) that a client will wait for a connection from the pool.
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.Builder.idleTimeoutMs(long idleTimeoutMs) |
The maximum amount of time (in milliseconds) that a connection is allowed to sit idle in the connection pool.
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.Builder.leakDetectionThresholdMs(long leakDetectionThresholdMs) |
This property controls the amount of time that a connection can be out of the pool before a message is logged
indicating a possible connection leak.
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.Builder.maxConnections(int maxConnections) |
The maximum number of connections allowed in the connection pool.
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.Builder.maxLifetimeMs(long maxLifetimeMs) |
This property controls the maximum lifetime of a connection in the pool.
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.Builder.minimumIdleConnections(int minimumIdleConnections) |
The minimum number of idle connections that the connection pool tries to maintain.
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.toBuilder() |
|
ConnectionPoolProperties.Builder |
ConnectionPoolProperties.Builder.validationTimeoutMs(long validationTimeoutMs) |
The maximum amount of time (in milliseconds) that a connection will be tested for validity.
|