public static class AvroRecyclerPools.ThreadLocalPool extends com.fasterxml.jackson.core.util.RecyclerPool.ThreadLocalPoolBase<ApacheCodecRecycler>
ThreadLocal-based RecyclerPool implementation used for
recycling ApacheCodecRecycler instances:
see RecyclerPool.ThreadLocalPoolBase for full explanation
of functioning.com.fasterxml.jackson.core.util.RecyclerPool.BoundedPoolBase<P extends com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P>>, com.fasterxml.jackson.core.util.RecyclerPool.ConcurrentDequePoolBase<P extends com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P>>, com.fasterxml.jackson.core.util.RecyclerPool.LockFreePoolBase<P extends com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P>>, com.fasterxml.jackson.core.util.RecyclerPool.NonRecyclingPoolBase<P extends com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P>>, com.fasterxml.jackson.core.util.RecyclerPool.StatefulImplBase<P extends com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P>>, com.fasterxml.jackson.core.util.RecyclerPool.ThreadLocalPoolBase<P extends com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P>>, com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P extends com.fasterxml.jackson.core.util.RecyclerPool.WithPool<P>>| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<SoftReference<ApacheCodecRecycler>> |
_recycler |
protected static AvroRecyclerPools.ThreadLocalPool |
GLOBAL |
| Modifier and Type | Method and Description |
|---|---|
ApacheCodecRecycler |
acquirePooled() |
protected Object |
readResolve() |
protected static final AvroRecyclerPools.ThreadLocalPool GLOBAL
protected static final ThreadLocal<SoftReference<ApacheCodecRecycler>> _recycler
public ApacheCodecRecycler acquirePooled()
acquirePooled in interface com.fasterxml.jackson.core.util.RecyclerPool<ApacheCodecRecycler>acquirePooled in class com.fasterxml.jackson.core.util.RecyclerPool.ThreadLocalPoolBase<ApacheCodecRecycler>protected Object readResolve()
Copyright © 2024 FasterXML. All rights reserved.