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 | 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.NonRecyclingPoolBase<BufferRecycler>Copyright © 2010 - 2024 Adobe. All Rights Reserved