Package com.fasterxml.jackson.core.util
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.core.util.RecyclerPool.LockFreePoolBase
RecyclerPool.LockFreePoolBase.Node<P>
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
FieldsModifier and TypeFieldDescriptionprotected static final JsonRecyclerPools.LockFreePool
Deprecated.Fields inherited from class com.fasterxml.jackson.core.util.RecyclerPool.StatefulImplBase
_serialization, SERIALIZATION_NON_SHARED, SERIALIZATION_SHARED
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.fasterxml.jackson.core.util.RecyclerPool.LockFreePoolBase
acquirePooled, clear, pooledCount, releasePooled
Methods inherited from class com.fasterxml.jackson.core.util.RecyclerPool.StatefulImplBase
_resolveToShared
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fasterxml.jackson.core.util.RecyclerPool
acquireAndLinkPooled
-
Field Details
-
GLOBAL
Deprecated.
-
-
Constructor Details
-
LockFreePool
protected LockFreePool(int serialization) Deprecated.
-
-
Method Details
-
construct
Deprecated. -
createPooled
Deprecated.- Specified by:
createPooled
in classRecyclerPool.StatefulImplBase<BufferRecycler>
-
readResolve
Deprecated.
-