Package com.fasterxml.jackson.core.util
Class JsonRecyclerPools.NonRecyclingPool
java.lang.Object
com.fasterxml.jackson.core.util.RecyclerPool.NonRecyclingPoolBase<BufferRecycler>
com.fasterxml.jackson.core.util.JsonRecyclerPools.NonRecyclingPool
- All Implemented Interfaces:
RecyclerPool<BufferRecycler>
,Serializable
- Enclosing class:
- JsonRecyclerPools
public static class JsonRecyclerPools.NonRecyclingPool
extends RecyclerPool.NonRecyclingPoolBase<BufferRecycler>
Dummy
RecyclerPool
implementation that does not recycle
anything but simply creates new instances when asked to acquire items.- See Also:
-
Nested Class Summary
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethod for sub-classes to implement for actual acquire logic; called byRecyclerPool.acquireAndLinkPooled()
.protected Object
Methods inherited from class com.fasterxml.jackson.core.util.RecyclerPool.NonRecyclingPoolBase
acquireAndLinkPooled, releasePooled
-
Field Details
-
GLOBAL
-
-
Constructor Details
-
NonRecyclingPool
protected NonRecyclingPool()
-
-
Method Details
-
acquirePooled
Description copied from interface:RecyclerPool
Method for sub-classes to implement for actual acquire logic; called byRecyclerPool.acquireAndLinkPooled()
.- Specified by:
acquirePooled
in interfaceRecyclerPool<BufferRecycler>
- Specified by:
acquirePooled
in classRecyclerPool.NonRecyclingPoolBase<BufferRecycler>
- Returns:
- Instance acquired (pooled or just constructed)
-
readResolve
-