| Allocator |
An Allocator is responsible for the creation and destruction of
Poolable objects.
|
| BasePoolable |
A basic implementation of the Poolable 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 |
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 |
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 a Pool must implement the Poolable interface
and adhere to its contract.
|
| PoolBuilder |
The PoolBuilder 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 the
PoolBuilder.build() method.
|
| Pooled |
A reference to a pooled object.
|
| PoolException |
The PoolException may be thrown by a pool implementation in a number of
circumstances:
|
| PoolTap |
A PoolTap provides the API for accessing objects in a Pool.
|
| Reallocator |
Reallocators are a special kind of Allocator that can reallocate
Poolables that have expired.
|
| Slot |
A Slot represents a location in a Pool where objects can be allocated into,
so that they can be claimed and released.
|
| SlotInfo |
An informative interface, used by Expiration 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.
|