Uses of Class
io.lettuce.core.support.BoundedPoolConfig.Builder
| Package | Description |
|---|---|
| io.lettuce.core.support |
Supportive classes such as
RedisClientCdiBean for CDI support, connection pooling, and
client-side caching. |
-
Uses of BoundedPoolConfig.Builder in io.lettuce.core.support
Methods in io.lettuce.core.support that return BoundedPoolConfig.Builder Modifier and Type Method Description static BoundedPoolConfig.BuilderBoundedPoolConfig. builder()Create a newBoundedPoolConfig.BuilderforBoundedPoolConfig.BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. maxIdle(int maxIdle)Returns the cap on the number of "idle" instances in the pool.BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. maxTotal(int maxTotal)Configures the maximum number of objects that can be allocated by the pool (checked out to clients, or idle awaiting checkout) at a given time.BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. minIdle(int minIdle)Configures the minimum number of idle objects to maintain in the pool.BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. testOnAcquire()BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. testOnAcquire(boolean testOnAcquire)BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. testOnCreate()BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. testOnCreate(boolean testOnCreate)BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. testOnRelease()BoundedPoolConfig.BuilderBoundedPoolConfig.Builder. testOnRelease(boolean testOnRelease)