| Package | Description |
|---|---|
| stormpot |
Stormpot
|
| stormpot.bpool | |
| stormpot.qpool |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Allocator<T extends Poolable>
An Allocator is responsible for the creation and destruction of
Poolable objects. |
class |
BlazePool<T extends Poolable>
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 |
CompoundExpiration<T extends Poolable>
Provides a way to compose
Expirations. |
class |
Config<T extends Poolable>
The basic configuration "bean" class.
|
interface |
Expiration<T extends Poolable>
The expiration is used to determine if a given slot has expired, or
otherwise become invalid.
|
interface |
LifecycledPool<T extends Poolable>
A LifecycledPool is a
Pool that can be shut down to release any
internal resources it might be holding on to. |
interface |
LifecycledResizablePool<T extends Poolable>
|
interface |
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.
|
class |
QueuePool<T extends Poolable>
QueuePool is a fairly simple
LifecycledResizablePool implementation
that basically consists of a queue of Poolable instances, and a Thread to
allocate them. |
interface |
Reallocator<T extends Poolable>
|
interface |
ResizablePool<T extends Poolable>
ResizablePools are pools that can change their size after they have been
created.
|
interface |
SlotInfo<T extends Poolable>
An informative little interface, used by
Expiration instances to
determine if a slot has expired or is still invalid for claiming. |
class |
TimeExpiration<T extends Poolable>
This is a time based
Expiration. |
class |
TimeSpreadExpiration<T extends Poolable>
This is the standard time based
Expiration. |
| Modifier and Type | Method and Description |
|---|---|
<X extends Poolable> |
Config.setAllocator(Allocator<X> allocator)
Set the
Allocator or Reallocator to use for the pools we
want to configure. |
| Modifier and Type | Method and Description |
|---|---|
void |
Slot.expire(Poolable obj)
Mark the object represented by this slot as expired.
|
void |
Slot.release(Poolable obj)
Signal to the pool that the currently claimed object in this slot has been
released.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BlazePool<T extends Poolable>
Deprecated.
This class has been moved to the stormpot package.
|
| Modifier and Type | Class and Description |
|---|---|
class |
QueuePool<T extends Poolable>
Deprecated.
This class has been moved to the stormpot package.
|
Copyright © 2011-2014–2016. All rights reserved.