Uses of Class
com.github.robtimus.pool.PoolConfig
-
-
Uses of PoolConfig in com.github.robtimus.pool
Methods in com.github.robtimus.pool that return PoolConfig Modifier and Type Method Description PoolConfig
PoolConfig.Builder. build()
Creates a newPoolConfig
object based on the settings of this builder.static PoolConfig
PoolConfig. defaultConfig()
Returns a defaultPoolConfig
object.Methods in com.github.robtimus.pool with parameters of type PoolConfig Modifier and Type Method Description void
PoolLogger. createdPool(PoolConfig config)
Called when aPool
has been created.void
PoolLogger. creatingPool(PoolConfig config)
Called when aPool
is being created.static <T> Pool<ObjectWrapper<T>,None>
ObjectWrapper. newPool(PoolConfig config, Supplier<T> supplier, PoolLogger logger)
Creates a new pool ofObjectWrapper
instances.static <T extends PoolableObject<None>>
Pool<T,None>Pool. throwingNone(PoolConfig config, Supplier<T> supplier, PoolLogger logger)
Creates a new pool that throws no exceptions.Constructors in com.github.robtimus.pool with parameters of type PoolConfig Constructor Description Pool(PoolConfig config, PoolableObjectFactory<T,X> factory, PoolLogger logger)
Creates a new pool.
-