Class SpanCount

  • All Implemented Interfaces:
    Recyclable

    public class SpanCount
    extends java.lang.Object
    implements Recyclable
    • Constructor Summary

      Constructors 
      Constructor Description
      SpanCount()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.atomic.AtomicInteger getDropped()  
      java.util.concurrent.atomic.AtomicInteger getReported()  
      java.util.concurrent.atomic.AtomicInteger getTotal()  
      boolean isSpanLimitReached​(int maxSpans)  
      void resetState()
      resets pooled object state so it can be reused
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpanCount

        public SpanCount()
    • Method Detail

      • getDropped

        public java.util.concurrent.atomic.AtomicInteger getDropped()
      • getReported

        public java.util.concurrent.atomic.AtomicInteger getReported()
      • getTotal

        public java.util.concurrent.atomic.AtomicInteger getTotal()
      • isSpanLimitReached

        public boolean isSpanLimitReached​(int maxSpans)
      • resetState

        public void resetState()
        Description copied from interface: Recyclable
        resets pooled object state so it can be reused
        Specified by:
        resetState in interface Recyclable