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.
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 |
_serialization, SERIALIZATION_NON_SHARED, SERIALIZATION_SHARED
Modifier | Constructor and Description |
---|---|
protected |
LockFreePool(int serialization) |
Modifier and Type | Method and Description |
---|---|
static JsonRecyclerPools.LockFreePool |
construct() |
BufferRecycler |
createPooled() |
protected Object |
readResolve() |
acquirePooled, clear, pooledCount, releasePooled
_resolveToShared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acquireAndLinkPooled
protected 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.