Module com.github.robtimus.pool
Package com.github.robtimus.pool
A simple object pool implementation.
-
Interface Summary Interface Description PoolableObject.Reference<X extends Exception> A reference to aPoolableObject
.PoolableObjectConsumer<T extends PoolableObject<X>,X extends Exception> An operation that takes a singlePoolableObject
.PoolableObjectFactory<T extends PoolableObject<X>,X extends Exception> A factory forPoolableObject
s. -
Class Summary Class Description ObjectWrapper<T> A poolable object that wraps a single value.Pool<T extends PoolableObject<X>,X extends Exception> A simple object pool implementation.PoolableObject<X extends Exception> An object that can be pooled.PoolConfig Configuration forPool
instances.PoolConfig.Builder A builder forPoolConfig
objects.PoolLogger A logger for events triggered by aPool
orPoolableObject
.PoolLogger.Builder A builder forPoolLogger
objects. -
Enum Summary Enum Description LogLevel The available log levels. -
Exception Summary Exception Description None An exception type that can be used to indicate that no exceptions can be thrown.