Package com.fasterxml.jackson.core.util
Class JsonRecyclerPools.BoundedPool
java.lang.Object
com.fasterxml.jackson.core.util.RecyclerPool.StatefulImplBase<BufferRecycler>
com.fasterxml.jackson.core.util.RecyclerPool.BoundedPoolBase<BufferRecycler>
com.fasterxml.jackson.core.util.JsonRecyclerPools.BoundedPool
- All Implemented Interfaces:
RecyclerPool<BufferRecycler>,Serializable
- Enclosing class:
JsonRecyclerPools
public static class JsonRecyclerPools.BoundedPool
extends RecyclerPool.BoundedPoolBase<BufferRecycler>
RecyclerPool implementation that uses
a bounded queue (ArrayBlockingQueue for recycling instances.
This is "bounded" pool since it will never hold on to more
BufferRecycler instances than its size configuration:
the default size is RecyclerPool.BoundedPoolBase.DEFAULT_CAPACITY.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fasterxml.jackson.core.util.RecyclerPool
RecyclerPool.BoundedPoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.ConcurrentDequePoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.LockFreePoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.NonRecyclingPoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.StatefulImplBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.ThreadLocalPoolBase<P extends RecyclerPool.WithPool<P>>, RecyclerPool.WithPool<P extends RecyclerPool.WithPool<P>> -
Field Summary
Fields inherited from class com.fasterxml.jackson.core.util.RecyclerPool.BoundedPoolBase
DEFAULT_CAPACITYFields inherited from class com.fasterxml.jackson.core.util.RecyclerPool.StatefulImplBase
SERIALIZATION_NON_SHARED, SERIALIZATION_SHARED -
Method Summary
Methods inherited from class com.fasterxml.jackson.core.util.RecyclerPool.BoundedPoolBase
acquirePooled, capacity, clear, pooledCount, releasePooledMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.fasterxml.jackson.core.util.RecyclerPool
acquireAndLinkPooled
-
Method Details
-
construct
-
createPooled
- Specified by:
createPooledin classRecyclerPool.StatefulImplBase<BufferRecycler>
-