@Deprecated public static class JsonRecyclerPools.LockFreePool extends RecyclerPool.LockFreePoolBase<BufferRecycler>
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.
RecyclerPool.LockFreePoolBase.Node<P>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>>| Modifier and Type | Field and Description |
|---|---|
protected static JsonRecyclerPools.LockFreePool |
GLOBAL
Deprecated.
|
_serialization, SERIALIZATION_NON_SHARED, SERIALIZATION_SHARED| Modifier | Constructor and Description |
|---|---|
protected |
LockFreePool(int serialization)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonRecyclerPools.LockFreePool |
construct()
Deprecated.
|
BufferRecycler |
createPooled()
Deprecated.
|
protected Object |
readResolve()
Deprecated.
|
acquirePooled, clear, pooledCount, releasePooled_resolveToSharedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireAndLinkPooledprotected static final JsonRecyclerPools.LockFreePool GLOBAL
public static JsonRecyclerPools.LockFreePool construct()
public BufferRecycler createPooled()
createPooled in class RecyclerPool.StatefulImplBase<BufferRecycler>protected Object readResolve()
Copyright © 2008–2024 FasterXML. All rights reserved.