| Package | Description |
|---|---|
| stormpot |
Stormpot
|
| stormpot.bpool | |
| stormpot.qpool |
| Class and Description |
|---|
| Allocator
An Allocator is responsible for the creation and destruction of
Poolable objects. |
| Completion
A Completion represents some task that is going to be completed at some
point in the future, or maybe already has completed.
|
| Config
The basic configuration "bean" class.
|
| Expiration
The expiration is used to determine if a given slot has expired, or
otherwise become invalid.
|
| LifecycledPool
A LifecycledPool is a
Pool that can be shut down to release any
internal resources it might be holding on to. |
| LifecycledResizablePool |
| 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. |
| PoolException
The PoolException may be thrown by a pool implementation in a number of
circumstances:
|
| Reallocator |
| ResizablePool
ResizablePools are pools that can change their size after they have been
created.
|
| 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 little 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.
|
| Class and Description |
|---|
| BlazePool
BlazePool is a highly optimised
LifecycledResizablePool
implementation that consists of a queues of Poolable instances, the access
to which is made faster with clever use of ThreadLocals. |
| Class and Description |
|---|
| QueuePool
QueuePool is a fairly simple
LifecycledResizablePool implementation
that basically consists of a queue of Poolable instances, and a Thread to
allocate them. |
Copyright © 2011-2014–2016. All rights reserved.