| Modifier and Type | Class and Description |
|---|---|
| public static class | AvroRecyclerPools.
|
| public static class | AvroRecyclerPools.
|
| public static class | AvroRecyclerPools.
Dummy |
| public static class | AvroRecyclerPools.
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static RecyclerPool | Returns: the defaultRecyclerPool implementation
which is the thread local based one:
basically alias to threadLocalPool()).
|
| public static RecyclerPool | Returns: Globally shared instance ofBoundedPool.Maximum number of values to pool size)Accessor for constructing a new, non-shared |
| public static RecyclerPool | Returns: Globally shared instance ofNonRecyclingPool.Accessor for constructing a new, non-shared |
| public static RecyclerPool | Returns: Globally shared instance ofNonRecyclingPool.Accessor for getting the shared/global |
| public static RecyclerPool | Returns: Globally shared instance ofBoundedPool.Accessor for getting the shared/global |
| public static RecyclerPool | Returns: Globally shared instance ofNonRecyclingPool.Accessor for getting the shared/global |
| public static RecyclerPool | Returns: Globally shared instance ofThreadLocalPoolAccessor for getting the shared/global |
| AvroRecyclerPools | back to summary |
|---|---|
| public AvroRecyclerPools() | |
| defaultPool | back to summary |
|---|---|
public static RecyclerPool
| |
| newBoundedPool | back to summary |
|---|---|
| public static RecyclerPool Accessor for constructing a new, non-shared
| |
| newConcurrentDequePool | back to summary |
|---|---|
| public static RecyclerPool Accessor for constructing a new, non-shared
| |
| nonRecyclingPool | back to summary |
|---|---|
| public static RecyclerPool Accessor for getting the shared/global
| |
| sharedBoundedPool | back to summary |
|---|---|
| public static RecyclerPool Accessor for getting the shared/global
| |
| sharedConcurrentDequePool | back to summary |
|---|---|
| public static RecyclerPool Accessor for getting the shared/global
| |
| threadLocalPool | back to summary |
|---|---|
| public static RecyclerPool Accessor for getting the shared/global
| |
RecyclerPool implementation that uses
a bounded queue (ArrayBlockingQueue for recycling instances.
This is "bounded" pool since it will never hold on to more
ApacheCodecRecycler instances than its size configuration:
the default size is BoundedPoolBase#DEFAULT_CAPACITY.
| Modifier and Type | Field and Description |
|---|---|
| protected static final AvroRecyclerPools. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static AvroRecyclerPools. | |
| public ApacheCodecRecycler | createPooled()
Implements abstract com.
|
| protected Object |
| GLOBAL | back to summary |
|---|---|
| protected static final AvroRecyclerPools. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| BoundedPool | back to summary |
|---|---|
| protected BoundedPool(int capacityAsId) | |
| construct | back to summary |
|---|---|
| public static AvroRecyclerPools. | |
| createPooled | back to summary |
|---|---|
| public ApacheCodecRecycler createPooled() Implements abstract com.
| |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() | |
RecyclerPool implementation that uses
ConcurrentLinkedDeque for recycling instances.
Pool is unbounded: see RecyclerPool what this means.
| Modifier and Type | Field and Description |
|---|---|
| protected static final AvroRecyclerPools. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static AvroRecyclerPools. | |
| public ApacheCodecRecycler | createPooled()
Implements abstract com.
|
| protected Object |
| GLOBAL | back to summary |
|---|---|
| protected static final AvroRecyclerPools. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| ConcurrentDequePool | back to summary |
|---|---|
| protected ConcurrentDequePool(int serialization) | |
| construct | back to summary |
|---|---|
| public static AvroRecyclerPools. | |
| createPooled | back to summary |
|---|---|
| public ApacheCodecRecycler createPooled() Implements abstract com.
| |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() | |
RecyclerPool implementation that does not recycle
anything but simply creates new instances when asked to acquire items.
| Modifier and Type | Field and Description |
|---|---|
| protected static final AvroRecyclerPools. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public ApacheCodecRecycler | acquirePooled()
Implements abstract com. Implements com. Method for sub-classes to implement for actual acquire logic; called
by |
| protected Object |
| GLOBAL | back to summary |
|---|---|
| protected static final AvroRecyclerPools. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| NonRecyclingPool | back to summary |
|---|---|
| protected NonRecyclingPool() | |
| acquirePooled | back to summary |
|---|---|
| public ApacheCodecRecycler acquirePooled() Implements abstract com. Implements com. Doc from com. Method for sub-classes to implement for actual acquire logic; called
by
| |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() | |
ThreadLocal-based RecyclerPool implementation used for
recycling ApacheCodecRecycler instances:
see RecyclerPool.ThreadLocalPoolBase for full explanation
of functioning.
| Modifier and Type | Field and Description |
|---|---|
| protected static final ThreadLocal | |
| protected static final AvroRecyclerPools. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ApacheCodecRecycler | acquirePooled()
Implements abstract com. Implements com. Method for sub-classes to implement for actual acquire logic; called
by |
| protected Object |
| _recycler | back to summary |
|---|---|
| protected static final ThreadLocal<SoftReference<ApacheCodecRecycler>> _recycler | |
| GLOBAL | back to summary |
|---|---|
| protected static final AvroRecyclerPools. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| ThreadLocalPool | back to summary |
|---|---|
| private ThreadLocalPool() | |
| acquirePooled | back to summary |
|---|---|
| public ApacheCodecRecycler acquirePooled() Implements abstract com. Implements com. Doc from com. Method for sub-classes to implement for actual acquire logic; called
by
| |
| readResolve | back to summary |
|---|---|
| protected Object readResolve() | |