Class HybridJacksonPool.StripedLockFreePool

  • All Implemented Interfaces:
    com.fasterxml.jackson.core.util.RecyclerPool<com.fasterxml.jackson.core.util.BufferRecycler>, Serializable
    Enclosing class:
    HybridJacksonPool

    public static class HybridJacksonPool.StripedLockFreePool
    extends Object
    implements com.fasterxml.jackson.core.util.RecyclerPool<com.fasterxml.jackson.core.util.BufferRecycler>
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.fasterxml.jackson.core.util.RecyclerPool

        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>>
    • Constructor Summary

      Constructors 
      Constructor Description
      StripedLockFreePool​(int stripesCount)  
    • Constructor Detail

      • StripedLockFreePool

        public StripedLockFreePool​(int stripesCount)
    • Method Detail

      • size

        public int size()
      • stackStats

        public int[] stackStats()
      • acquirePooled

        public com.fasterxml.jackson.core.util.BufferRecycler acquirePooled()
        Specified by:
        acquirePooled in interface com.fasterxml.jackson.core.util.RecyclerPool<com.fasterxml.jackson.core.util.BufferRecycler>
      • releasePooled

        public void releasePooled​(com.fasterxml.jackson.core.util.BufferRecycler recycler)
        Specified by:
        releasePooled in interface com.fasterxml.jackson.core.util.RecyclerPool<com.fasterxml.jackson.core.util.BufferRecycler>