All Classes
-
All Classes Interface Summary Class Summary Exception Summary Class Description Allocator<T extends Poolable> An Allocator is responsible for the creation and destruction ofPoolable
objects.BasePoolable A basic implementation of thePoolable
interface, which can be extended directly.Completion A Completion represents some task that is going to be completed at some point in the future, or maybe already has completed.Expiration<T extends Poolable> The expiration is used to determine if a given slot has expired, or otherwise become invalid.ManagedPool This is the JMX management interface for Stormpot object pools.MetricsRecorder A MetricsRecorder implementation supplies the pool with the ability to record and report operational metrics.Pool<T extends Poolable> A Pool is a self-renewable set of objects from which one can claim exclusive access to elements, until they are released back into the pool.Poolable Objects contained in aPool
must implement the Poolable interface and adhere to its contract.PoolBuilder<T extends Poolable> ThePoolBuilder
collects information about how big a pool should be, and how it should allocate objects, an so on, and finally acts as the factory for building the pool instances themselves, with thePoolBuilder.build()
method.Pooled<T> A reference to a pooled object.PoolException The PoolException may be thrown by a pool implementation in a number of circumstances:PoolTap<T extends Poolable> A PoolTap provides the API for accessing objects in aPool
.Reallocator<T extends Poolable> Slot A Slot represents a location in a Pool where objects can be allocated into, so that they can be claimed and released.SlotInfo<T extends Poolable> An informative interface, used byExpiration
instances to determine if a slot has expired or is still invalid for claiming.Timeout A Timeout represents the maximum amount of time a caller is willing to wait for a blocking operation to complete.