Class JsonRecyclerPools.LockFreePool
java.lang.Object
com.fasterxml.jackson.core.util.RecyclerPool.StatefulImplBase<BufferRecycler>
com.fasterxml.jackson.core.util.RecyclerPool.LockFreePoolBase<BufferRecycler>
com.fasterxml.jackson.core.util.JsonRecyclerPools.LockFreePool
- All Implemented Interfaces:
RecyclerPool<BufferRecycler>, Serializable
- Enclosing class:
JsonRecyclerPools
@Deprecated
public static class JsonRecyclerPools.LockFreePool
extends RecyclerPool.LockFreePoolBase<BufferRecycler>
Deprecated.
Since 2.18: use other implementations instead
RecyclerPool implementation that uses
a lock free linked list for recycling instances.
Pool is unbounded: see RecyclerPool for
details on what this means.
NOTE: serious issues found with 2.17.0 lead to deprecation of this implementation -- basically it is possible to have unbalanced acquire/release success rate lead to excessive growth of pooled instances. See jackson-core#1260 for details.
- Since:
- 2.16
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class RecyclerPool.LockFreePoolBase
RecyclerPool.LockFreePoolBase.Node<P>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
FieldsModifier and TypeFieldDescriptionprotected static final JsonRecyclerPools.LockFreePoolDeprecated.Fields inherited from class RecyclerPool.StatefulImplBase
_serialization, SERIALIZATION_NON_SHARED, SERIALIZATION_SHARED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RecyclerPool.LockFreePoolBase
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
Deprecated.
-
-
Constructor Details
-
LockFreePool
protected LockFreePool(int serialization) Deprecated.
-
-
Method Details
-
construct
Deprecated. -
createPooled
Deprecated.- Specified by:
createPooledin classRecyclerPool.StatefulImplBase<BufferRecycler>
-
readResolve
Deprecated.
-