Class HybridJacksonPool.StripedLockFreePool

java.lang.Object
io.vertx.core.json.jackson.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:
  • 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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.core.util.BufferRecycler
     
    void
    releasePooled(com.fasterxml.jackson.core.util.BufferRecycler recycler)
     
    int
     
    int[]
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.fasterxml.jackson.core.util.RecyclerPool

    acquireAndLinkPooled, clear, pooledCount
  • Constructor Details

    • StripedLockFreePool

      public StripedLockFreePool(int stripesCount)
  • Method Details

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