Uses of Class
org.infinispan.client.hotrod.configuration.ConnectionPoolConfigurationBuilder
-
Uses of ConnectionPoolConfigurationBuilder in org.infinispan.client.hotrod.configuration
Modifier and TypeMethodDescriptionAbstractConfigurationChildBuilder.connectionPool()
ConfigurationBuilder.connectionPool()
ConfigurationChildBuilder.connectionPool()
Configures the connection poolConnectionPoolConfigurationBuilder.exhaustedAction
(ExhaustedAction exhaustedAction) 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.maxPendingRequests
(int maxPendingRequests) Specifies maximum number of requests sent over single connection at one instant.ConnectionPoolConfigurationBuilder.maxWait
(long maxWait) The amount of time in milliseconds to wait for a connection to become available when the exhausted action isExhaustedAction.WAIT
, after which aNoSuchElementException
will be thrown.ConnectionPoolConfigurationBuilder.minEvictableIdleTime
(long minEvictableIdleTime) 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.read
(ConnectionPoolConfiguration template, Combine combine) ConnectionPoolConfigurationBuilder.withPoolProperties
(Properties properties) Configures the connection pool parameter according to properties