Uses of Class
com.github.robtimus.pool.PoolConfig.Builder
-
-
Uses of PoolConfig.Builder in com.github.robtimus.pool
Methods in com.github.robtimus.pool that return PoolConfig.Builder Modifier and Type Method Description static PoolConfig.Builder
PoolConfig. custom()
Returns a new builder for creatingPoolConfig
objects.PoolConfig.Builder
PoolConfig.Builder. withInitialSize(int initialSize)
Sets the initial pool size.PoolConfig.Builder
PoolConfig.Builder. withMaxIdleTime(Duration maxIdleTime)
Sets the maximum time that objects can be idle.PoolConfig.Builder
PoolConfig.Builder. withMaxSize(int maxSize)
Sets the maximum pool size.PoolConfig.Builder
PoolConfig.Builder. withMaxWaitTime(Duration maxWaitTime)
Sets the maximum time to wait when acquiring objects usingPool.acquire()
orPool.acquire(Supplier)
.
-