public static class JsonRecyclerPools.NonRecyclingPool extends RecyclerPool.NonRecyclingPoolBase<BufferRecycler>
RecyclerPool
implementation that does not recycle
anything but simply creates new instances when asked to acquire items.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.NonRecyclingPool |
GLOBAL |
Modifier | Constructor and Description |
---|---|
protected |
NonRecyclingPool() |
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, releasePooled
protected static final JsonRecyclerPools.NonRecyclingPool GLOBAL
public BufferRecycler acquirePooled()
RecyclerPool
RecyclerPool.acquireAndLinkPooled()
.acquirePooled
in interface RecyclerPool<BufferRecycler>
acquirePooled
in class RecyclerPool.NonRecyclingPoolBase<BufferRecycler>
protected Object readResolve()
Copyright © 2008–2024 FasterXML. All rights reserved.