Packages

class Atomic extends BaseAtomicHdrHistogram with Histogram with DistributionSnapshotBuilder with BaseMetricAutoUpdate[Histogram, ForDistributionInstrument, Distribution]

Histogram implementation with thread safety guarantees. Instances of this class can be safely shared across threads and updated concurrently.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Atomic
  2. BaseMetricAutoUpdate
  3. DistributionSnapshotBuilder
  4. Snapshotting
  5. Histogram
  6. Instrument
  7. Tagging
  8. BaseAtomicHdrHistogram
  9. HdrHistogramInternalState
  10. AbstractHistogramBase
  11. EncodableHistogram
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Atomic(metric: BaseMetric[Histogram, ForDistributionInstrument, Distribution], tags: TagSet, dynamicRange: DynamicRange)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def autoUpdate(consumer: (Histogram) => Unit, interval: Duration): Histogram
    Definition Classes
    BaseMetricAutoUpdate
  6. def autoUpdate(consumer: (Histogram) => Unit): Histogram

    Schedules a call to the provided consumer with a reference to this histogram as parameter.

    Schedules a call to the provided consumer with a reference to this histogram as parameter. The schedule uses the default auto-update interval. See the kamon.metric.instrument-factory configuration settings for more details.

    Definition Classes
    Instrument
  7. def autoUpdate(consumer: Consumer[Histogram], interval: Duration): Histogram

    Schedules a call to the provided consumer with a reference to this histogram as parameter, overriding the metric's auto-update interval.

    Schedules a call to the provided consumer with a reference to this histogram as parameter, overriding the metric's auto-update interval.

    Definition Classes
    Instrument
  8. def autoUpdate(consumer: Consumer[Histogram]): Histogram

    Schedules a call to the provided consumer with a reference to this histogram as parameter.

    Schedules a call to the provided consumer with a reference to this histogram as parameter. The schedule uses the default auto-update interval. See the kamon.metric.instrument-factory configuration settings for more details.

    Definition Classes
    Instrument
  9. def baseMetric: BaseMetric[Histogram, ForDistributionInstrument, Distribution]
    Attributes
    protected
    Definition Classes
    AtomicBaseMetricAutoUpdate
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def defaultSchedule(): Unit
    Definition Classes
    BaseMetricAutoUpdate
  12. val dynamicRange: DynamicRange
    Definition Classes
    Atomic → DistributionSnapshotBuilder
  13. def encodeIntoCompressedByteBuffer(targetBuffer: ByteBuffer, compressionLevel: Int): Int
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def getAndSetFromCountsArray(index: Int, newValue: Long): Long
    Definition Classes
    BaseAtomicHdrHistogramHdrHistogramInternalState
    Annotations
    @Override()
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getCountsArraySize(): Int
    Definition Classes
    BaseAtomicHdrHistogramHdrHistogramInternalState
    Annotations
    @Override()
  20. def getEndTimeStamp(): Long
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  21. def getFromCountsArray(index: Int): Long
    Definition Classes
    BaseAtomicHdrHistogramHdrHistogramInternalState
    Annotations
    @Override()
  22. def getHighestTrackableValue(): Long
    Definition Classes
    BaseAtomicHdrHistogram
  23. def getMaxValueAsDouble(): Double
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  24. def getNeededByteBufferCapacity(): Int
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  25. def getStartTimeStamp(): Long
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  26. def getSubBucketHalfCount(): Int
    Definition Classes
    BaseAtomicHdrHistogramHdrHistogramInternalState
    Annotations
    @Override()
  27. def getSubBucketHalfCountMagnitude(): Int
    Definition Classes
    BaseAtomicHdrHistogramHdrHistogramInternalState
    Annotations
    @Override()
  28. def getTag(): String
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  29. def getUnitMagnitude(): Int
    Definition Classes
    BaseAtomicHdrHistogramHdrHistogramInternalState
    Annotations
    @Override()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. val metric: BaseMetric[Histogram, ForDistributionInstrument, Distribution]

    Returns the metric to which this instrument belongs.

    Returns the metric to which this instrument belongs.

    Definition Classes
    AtomicInstrument
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def record(value: Long, times: Long): Histogram

    Records several occurrences of the provided value.

    Records several occurrences of the provided value. Keep in mind that the provided value will not be recorded as-is on the Histogram but will be rather adjusted to a bucket within the configured precision. By default, all Kamon histograms are configured to achieve up to 1% error margin across the entire range.

    Definition Classes
    AtomicHistogram
  37. def record(value: Long): Histogram

    Records one occurrence of the provided value.

    Records one occurrence of the provided value. Keep in mind that the provided value will not be recorded as-is on the Histogram but will be rather adjusted to a bucket within the configured precision. By default, all Kamon histograms are configured to achieve up to 1% error margin across the entire range.

    Definition Classes
    AtomicHistogram
  38. def recordValue(value: Long): Unit
    Definition Classes
    BaseAtomicHdrHistogram
  39. def recordValueWithCount(value: Long, count: Long): Unit
    Definition Classes
    BaseAtomicHdrHistogram
  40. def remove(): Boolean

    Removes this instrument from the metric.

    Removes this instrument from the metric.

    Definition Classes
    Instrument
  41. def reset(): Unit
    Definition Classes
    BaseAtomicHdrHistogram
  42. def setEndTimeStamp(startTimeStamp: Long): Unit
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  43. def setStartTimeStamp(startTimeStamp: Long): Unit
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  44. def setTag(tag: String): Unit
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
    Annotations
    @Override()
  45. def snapshot(resetState: Boolean): Distribution

    Creates a snapshot for an instrument.

    Creates a snapshot for an instrument. If the resetState flag is set to true, the internal state of the instrument will be reset, if applicable.

    Definition Classes
    DistributionSnapshotBuilder → Snapshotting
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. val tags: TagSet

    Returns the tags used to create this instrument.

    Returns the tags used to create this instrument.

    Definition Classes
    AtomicInstrument
  48. def toString(): String
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  52. def withTag(key: String, value: Long): Histogram

    Returns an instrument with one additional tag defined by the provided key and value pair.

    Returns an instrument with one additional tag defined by the provided key and value pair.

    Definition Classes
    InstrumentTagging
  53. def withTag(key: String, value: Boolean): Histogram

    Returns an instrument with one additional tag defined by the provided key and value pair.

    Returns an instrument with one additional tag defined by the provided key and value pair.

    Definition Classes
    InstrumentTagging
  54. def withTag(key: String, value: String): Histogram

    Returns an instrument with one additional tag defined by the provided key and value pair.

    Returns an instrument with one additional tag defined by the provided key and value pair.

    Definition Classes
    InstrumentTagging
  55. def withTags(tags: TagSet): Histogram

    Returns an instrument with additional tags from the provided TagSet.

    Returns an instrument with additional tags from the provided TagSet.

    Definition Classes
    InstrumentTagging

Inherited from DistributionSnapshotBuilder

Inherited from Snapshotting[Distribution]

Inherited from Histogram

Inherited from Tagging[Histogram]

Inherited from BaseAtomicHdrHistogram

Inherited from AbstractHistogramBase

Inherited from EncodableHistogram

Inherited from AnyRef

Inherited from Any

Ungrouped