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 | Method and Description |
|---|---|
BufferRecycler |
acquirePooled()
Method for sub-classes to implement for actual acquire logic; called
by
RecyclerPool.acquireAndLinkPooled(). |
acquireAndLinkPooled, releasePooledpublic BufferRecycler acquirePooled()
RecyclerPoolRecyclerPool.acquireAndLinkPooled().acquirePooled in interface RecyclerPool<BufferRecycler>acquirePooled in class RecyclerPool.ThreadLocalPoolBase<BufferRecycler>Copyright © 2010 - 2024 Adobe. All Rights Reserved