Package | Description |
---|---|
org.infinispan.client.hotrod.configuration |
Hot Rod client configuration API.
|
Modifier and Type | Method and Description |
---|---|
ConnectionPoolConfigurationBuilder |
AbstractConfigurationChildBuilder.connectionPool() |
ConnectionPoolConfigurationBuilder |
ConfigurationBuilder.connectionPool() |
ConnectionPoolConfigurationBuilder |
ConfigurationChildBuilder.connectionPool()
Configures the connection pool
|
ConnectionPoolConfigurationBuilder |
ConnectionPoolConfigurationBuilder.exhaustedAction(ExhaustedAction exhaustedAction)
Specifies what happens when asking for a connection from a server's pool, and that pool is
exhausted.
|
ConnectionPoolConfigurationBuilder |
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 |
ConnectionPoolConfigurationBuilder.maxPendingRequests(int maxPendingRequests)
Specifies maximum number of requests sent over single connection at one instant.
|
ConnectionPoolConfigurationBuilder |
ConnectionPoolConfigurationBuilder.maxWait(long maxWait)
The amount of time in milliseconds to wait for a connection to become available when the
exhausted action is
ExhaustedAction.WAIT , after which a NoSuchElementException
will be thrown. |
ConnectionPoolConfigurationBuilder |
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 |
ConnectionPoolConfigurationBuilder.minIdle(int minIdle)
Sets a target value for the minimum number of idle connections (per server) that should always
be available.
|
ConnectionPoolConfigurationBuilder |
ConnectionPoolConfigurationBuilder.read(ConnectionPoolConfiguration template) |
ConnectionPoolConfigurationBuilder |
ConnectionPoolConfigurationBuilder.withPoolProperties(Properties properties)
Configures the connection pool parameter according to properties
|
Copyright © 2021 JBoss by Red Hat. All rights reserved.