Class JsonRecyclerPools.ConcurrentDequePool
java.lang.Object
com.fasterxml.jackson.core.util.RecyclerPool.StatefulImplBase<BufferRecycler>
com.fasterxml.jackson.core.util.RecyclerPool.ConcurrentDequePoolBase<BufferRecycler>
com.fasterxml.jackson.core.util.JsonRecyclerPools.ConcurrentDequePool
- All Implemented Interfaces:
RecyclerPool<BufferRecycler>, Serializable
- Enclosing class:
JsonRecyclerPools
public static class JsonRecyclerPools.ConcurrentDequePool
extends RecyclerPool.ConcurrentDequePoolBase<BufferRecycler>
RecyclerPool implementation that uses
ConcurrentLinkedDeque for recycling instances.
Pool is unbounded: see RecyclerPool what this means.
- Since:
- 2.16
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface RecyclerPool
RecyclerPool.BoundedPoolBase<P>, RecyclerPool.ConcurrentDequePoolBase<P>, RecyclerPool.LockFreePoolBase<P>, RecyclerPool.NonRecyclingPoolBase<P>, RecyclerPool.StatefulImplBase<P>, RecyclerPool.ThreadLocalPoolBase<P>, RecyclerPool.WithPool<P> -
Field Summary
FieldsFields inherited from class RecyclerPool.ConcurrentDequePoolBase
poolFields inherited from class RecyclerPool.StatefulImplBase
_serialization, SERIALIZATION_NON_SHARED, SERIALIZATION_SHARED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RecyclerPool.ConcurrentDequePoolBase
acquirePooled, clear, pooledCount, releasePooledMethods inherited from class RecyclerPool.StatefulImplBase
_resolveToSharedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RecyclerPool
acquireAndLinkPooled
-
Field Details
-
GLOBAL
-
-
Constructor Details
-
ConcurrentDequePool
protected ConcurrentDequePool(int serialization)
-
-
Method Details
-
construct
-
createPooled
- Specified by:
createPooledin classRecyclerPool.StatefulImplBase<BufferRecycler>
-
readResolve
-