public static class JsonRecyclerPools.ThreadLocalPool extends RecyclerPool.ThreadLocalPoolBase<BufferRecycler>
ThreadLocal-based RecyclerPool implementation used for
recycling BufferRecycler instances:
see RecyclerPool.ThreadLocalPoolBase for full explanation
of functioning.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.ThreadLocalPool |
GLOBAL |
| Modifier and Type | Method and Description |
|---|---|
BufferRecycler |
acquirePooled()
Method for sub-classes to implement for actual acquire logic; called
by
RecyclerPool.acquireAndLinkPooled(). |
protected Object |
readResolve() |
acquireAndLinkPooled, clear, pooledCount, releasePooledprotected static final JsonRecyclerPools.ThreadLocalPool GLOBAL
public BufferRecycler acquirePooled()
RecyclerPoolRecyclerPool.acquireAndLinkPooled().acquirePooled in interface RecyclerPool<BufferRecycler>acquirePooled in class RecyclerPool.ThreadLocalPoolBase<BufferRecycler>protected Object readResolve()
Copyright © 2008–2024 FasterXML. All rights reserved.