Class AbstractHistogramBase

java.lang.Object
org.HdrHistogram.EncodableHistogram
org.HdrHistogram.AbstractHistogramBase
Direct Known Subclasses:
AbstractHistogram

abstract class AbstractHistogramBase extends EncodableHistogram
This non-public AbstractHistogramBase super-class separation is meant to bunch "cold" fields separately from "hot" fields, in an attempt to force the JVM to place the (hot) fields commonly used in the value recording code paths close together. Subclass boundaries tend to be strongly control memory layout decisions in most practical JVM implementations, making this an effective method for control filed grouping layout.
  • Field Details

    • constructionIdentityCount

      static AtomicLong constructionIdentityCount
    • identity

      long identity
    • autoResize

      volatile boolean autoResize
    • highestTrackableValue

      long highestTrackableValue
    • lowestDiscernibleValue

      long lowestDiscernibleValue
    • numberOfSignificantValueDigits

      int numberOfSignificantValueDigits
    • bucketCount

      int bucketCount
    • subBucketCount

      int subBucketCount
      Power-of-two length of linearly scaled array slots in the counts array. Long enough to hold the first sequence of entries that must be distinguished by a single unit (determined by configured precision).
    • countsArrayLength

      int countsArrayLength
    • wordSizeInBytes

      int wordSizeInBytes
    • startTimeStampMsec

      long startTimeStampMsec
    • endTimeStampMsec

      long endTimeStampMsec
    • tag

      String tag
    • integerToDoubleValueConversionRatio

      double integerToDoubleValueConversionRatio
    • doubleToIntegerValueConversionRatio

      double doubleToIntegerValueConversionRatio
    • percentileIterator

      PercentileIterator percentileIterator
    • recordedValuesIterator

      RecordedValuesIterator recordedValuesIterator
    • intermediateUncompressedByteBuffer

      ByteBuffer intermediateUncompressedByteBuffer
    • intermediateUncompressedByteArray

      byte[] intermediateUncompressedByteArray
  • Constructor Details

    • AbstractHistogramBase

      AbstractHistogramBase()
  • Method Details

    • getIntegerToDoubleValueConversionRatio

      double getIntegerToDoubleValueConversionRatio()
    • getDoubleToIntegerValueConversionRatio

      double getDoubleToIntegerValueConversionRatio()
    • nonConcurrentSetIntegerToDoubleValueConversionRatio

      void nonConcurrentSetIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio)
    • setIntegerToDoubleValueConversionRatio

      abstract void setIntegerToDoubleValueConversionRatio(double integerToDoubleValueConversionRatio)