kamon.metric.instrument

HdrHistogram

class HdrHistogram extends AtomicHistogram with Histogram with AtomicHistogramFieldsAccessor

This implementation is meant to be used for real time data collection where data snapshots are taken often over time. The collect(..) operation extracts all the recorded values from the histogram and resets the counts, but still leave it in a consistent state even in the case of concurrent modification while the snapshot is being taken.

Linear Supertypes
AtomicHistogramFieldsAccessor, Histogram, MetricRecorder, AtomicHistogram, AbstractHistogram, Serializable, AbstractHistogramBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HdrHistogram
  2. AtomicHistogramFieldsAccessor
  3. Histogram
  4. MetricRecorder
  5. AtomicHistogram
  6. AbstractHistogram
  7. Serializable
  8. AbstractHistogramBase
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HdrHistogram(lowestTrackableValue: Long, highestTrackableValue: Long, significantValueDigits: Int, scale: Scale = Scale.Unit)

Type Members

  1. type SnapshotType = Snapshot

    Definition Classes
    Histogram → MetricRecorder

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def add(arg0: AbstractHistogram): Unit

    Definition Classes
    AbstractHistogram
  5. def addWhileCorrectingForCoordinatedOmission(arg0: AbstractHistogram, arg1: Long): Unit

    Definition Classes
    AbstractHistogram
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def cleanup: Unit

    Definition Classes
    HdrHistogram → MetricRecorder
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def collect(context: CollectionContext): Snapshot

    Definition Classes
    HdrHistogram → MetricRecorder
  10. def copy(): AtomicHistogram

    Definition Classes
    AtomicHistogram → AbstractHistogram
  11. def copyCorrectedForCoordinatedOmission(arg0: Long): AtomicHistogram

    Definition Classes
    AtomicHistogram → AbstractHistogram
  12. def copyInto(arg0: AbstractHistogram): Unit

    Definition Classes
    AbstractHistogram
  13. def copyIntoCorrectedForCoordinatedOmission(arg0: AbstractHistogram, arg1: Long): Unit

    Definition Classes
    AbstractHistogram
  14. def countsArray(): AtomicLongArray

  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AbstractHistogram → AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getCounts: Int

  20. def getEstimatedFootprintInBytes(): Int

    Definition Classes
    AtomicHistogram → AbstractHistogram
  21. def getHighestTrackableValue(): Long

    Definition Classes
    AbstractHistogram
  22. def getHistogramData(): HistogramData

    Definition Classes
    AbstractHistogram
  23. def getLowestTrackableValue(): Long

    Definition Classes
    AbstractHistogram
  24. def getNumberOfSignificantValueDigits(): Int

    Definition Classes
    AbstractHistogram
  25. def hasOverflowed(): Boolean

    Definition Classes
    AbstractHistogram
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def highestEquivalentValue(arg0: Long): Long

    Definition Classes
    AbstractHistogram
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def lowestEquivalentValue(arg0: Long): Long

    Definition Classes
    AbstractHistogram
  30. def medianEquivalentValue(arg0: Long): Long

    Definition Classes
    AbstractHistogram
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def nextNonEquivalentValue(arg0: Long): Long

    Definition Classes
    AbstractHistogram
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def record(value: Long, count: Long): Unit

    Definition Classes
    HdrHistogramHistogram
  36. def record(value: Long): Unit

    Definition Classes
    HdrHistogramHistogram
  37. def recordValue(arg0: Long): Unit

    Definition Classes
    AbstractHistogram
    Annotations
    @throws( ... )
  38. def recordValueWithCount(arg0: Long, arg1: Long): Unit

    Definition Classes
    AbstractHistogram
    Annotations
    @throws( ... )
  39. def recordValueWithExpectedInterval(arg0: Long, arg1: Long): Unit

    Definition Classes
    AbstractHistogram
    Annotations
    @throws( ... )
  40. def reestablishTotalCount(): Unit

    Definition Classes
    AbstractHistogram
  41. def reset(): Unit

    Definition Classes
    AbstractHistogram
  42. def sizeOfEquivalentValueRange(arg0: Long): Long

    Definition Classes
    AbstractHistogram
  43. def subBucketHalfCount(): Int

  44. def subBucketHalfCountMagnitude(): Int

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. def unitMagnitude(): Int

  48. def valuesAreEquivalent(arg0: Long, arg1: Long): Boolean

    Definition Classes
    AbstractHistogram
  49. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def recordValue(arg0: Long, arg1: Long): Unit

    Definition Classes
    AbstractHistogram
    Annotations
    @deprecated @throws( ... )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Histogram

Inherited from MetricRecorder

Inherited from AtomicHistogram

Inherited from AbstractHistogram

Inherited from Serializable

Inherited from AbstractHistogramBase

Inherited from AnyRef

Inherited from Any

Ungrouped