interface |
RecyclerPool<P extends RecyclerPool.WithPool<P>> |
API for object pools that control creation and possible reuse of
objects that are costly to create (often things like encoding/decoding buffers).
|
static class |
RecyclerPool.BoundedPoolBase<P extends RecyclerPool.WithPool<P>> |
RecyclerPool implementation that uses
a bounded queue ( ArrayBlockingQueue for recycling instances.
|
static class |
RecyclerPool.ConcurrentDequePoolBase<P extends RecyclerPool.WithPool<P>> |
RecyclerPool implementation that uses
ConcurrentLinkedDeque for recycling instances.
|
static class |
RecyclerPool.LockFreePoolBase<P extends RecyclerPool.WithPool<P>> |
RecyclerPool implementation that uses
a lock free linked list for recycling instances.
|
static class |
RecyclerPool.NonRecyclingPoolBase<P extends RecyclerPool.WithPool<P>> |
RecyclerPool implementation that does not use
any pool but simply creates new instances when necessary.
|
static class |
RecyclerPool.StatefulImplBase<P extends RecyclerPool.WithPool<P>> |
Intermediate base class for instances that are stateful and require
special handling with respect to JDK serialization, to retain
"global" reference distinct from non-shared ones.
|
static class |
RecyclerPool.ThreadLocalPoolBase<P extends RecyclerPool.WithPool<P>> |
Default RecyclerPool implementation that uses
ThreadLocal for recycling instances.
|
static interface |
RecyclerPool.WithPool<P extends RecyclerPool.WithPool<P>> |
Simple add-on interface that poolable entities must implement.
|