Class AvroRecyclerPools.BoundedPool

java.lang.Object
tools.jackson.core.util.RecyclerPool.StatefulImplBase<P>
tools.jackson.core.util.RecyclerPool.BoundedPoolBase<ApacheCodecRecycler>
tools.jackson.dataformat.avro.apacheimpl.AvroRecyclerPools.BoundedPool
All Implemented Interfaces:
Serializable, tools.jackson.core.util.RecyclerPool<ApacheCodecRecycler>
Enclosing class:
AvroRecyclerPools

public static class AvroRecyclerPools.BoundedPool extends tools.jackson.core.util.RecyclerPool.BoundedPoolBase<ApacheCodecRecycler>
RecyclerPool implementation that uses a bounded queue (ArrayBlockingQueue for recycling instances. This is "bounded" pool since it will never hold on to more ApacheCodecRecycler instances than its size configuration: the default size is RecyclerPool.BoundedPoolBase.DEFAULT_CAPACITY.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface tools.jackson.core.util.RecyclerPool

    tools.jackson.core.util.RecyclerPool.BoundedPoolBase<P extends tools.jackson.core.util.RecyclerPool.WithPool<P>>, tools.jackson.core.util.RecyclerPool.ConcurrentDequePoolBase<P extends tools.jackson.core.util.RecyclerPool.WithPool<P>>, tools.jackson.core.util.RecyclerPool.NonRecyclingPoolBase<P extends tools.jackson.core.util.RecyclerPool.WithPool<P>>, tools.jackson.core.util.RecyclerPool.StatefulImplBase<P extends tools.jackson.core.util.RecyclerPool.WithPool<P>>, tools.jackson.core.util.RecyclerPool.ThreadLocalPoolBase<P extends tools.jackson.core.util.RecyclerPool.WithPool<P>>, tools.jackson.core.util.RecyclerPool.WithPool<P extends tools.jackson.core.util.RecyclerPool.WithPool<P>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final AvroRecyclerPools.BoundedPool
     

    Fields inherited from class tools.jackson.core.util.RecyclerPool.BoundedPoolBase

    DEFAULT_CAPACITY

    Fields inherited from class tools.jackson.core.util.RecyclerPool.StatefulImplBase

    _serialization, SERIALIZATION_NON_SHARED, SERIALIZATION_SHARED
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BoundedPool(int capacityAsId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    construct(int capacity)
     
     
    protected Object
     

    Methods inherited from class tools.jackson.core.util.RecyclerPool.BoundedPoolBase

    acquirePooled, capacity, clear, pooledCount, releasePooled

    Methods inherited from class tools.jackson.core.util.RecyclerPool.StatefulImplBase

    _resolveToShared

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface tools.jackson.core.util.RecyclerPool

    acquireAndLinkPooled