class MetricsBucketedHistogram extends MetricsHistogram
A MetricsHistogram that is latched such that a snapshot of
the values are taken every latchPeriod
and that value is returned
for rest of latchPeriod
. This gives pull based collectors a
simple way to get consistent results.
This is safe to use from multiple threads.
- Alphabetic
- By Inheritance
- MetricsBucketedHistogram
- MetricsHistogram
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(value: Long): Unit
Adds a new datapoint to the histogram.
Adds a new datapoint to the histogram.
- Definition Classes
- MetricsBucketedHistogram → MetricsHistogram
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
Clears all the data from the histogram.
Clears all the data from the histogram.
- Definition Classes
- MetricsBucketedHistogram → MetricsHistogram
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getName: String
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def histogramDetail: HistogramDetail
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def snapshot(): Snapshot
Returns an immutable snapshot of the state of the histogram right now.
Returns an immutable snapshot of the state of the histogram right now.
If the underlying histogram is latched or buffered, data might be slow to appear or might disappear after some time passes.
To reread the histogram, snapshot must be called again.
- Definition Classes
- MetricsBucketedHistogram → MetricsHistogram
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()