Atomic

Timer implementation with thread safety guarantees. Instances of this class can be safely shared across threads and updated concurrently. This is, in fact, a close copy of the Histogram.Atomic implementation, modified to match the Timer interface.

class BaseAtomicHdrHistogram
trait HdrHistogramInternalState
class EncodableHistogram
class Object
trait Matchable
class Any

Value members

Concrete methods

override def decrement(): RangeSampler
Definition Classes
override def decrement(times: Long): RangeSampler
Definition Classes
override def defaultSchedule(): Unit
Definition Classes
override def increment(): RangeSampler
Definition Classes
override def increment(times: Long): RangeSampler
Definition Classes
Definition Classes
override def sample(): RangeSampler

Triggers the sampling of the internal minimum, maximum and current value indicators.

Triggers the sampling of the internal minimum, maximum and current value indicators.

Definition Classes

Inherited methods

def autoUpdate(consumer: RangeSampler => Unit, interval: Duration): RangeSampler
Inherited from:
BaseMetricAutoUpdate
def autoUpdate(consumer: RangeSampler => Unit): RangeSampler

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.

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.

Inherited from:
Instrument
def autoUpdate(consumer: Consumer[RangeSampler], interval: Duration): RangeSampler

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.

Inherited from:
Instrument
def autoUpdate(consumer: Consumer[RangeSampler]): RangeSampler

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.

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.

Inherited from:
Instrument
def encodeIntoCompressedByteBuffer(x$0: ByteBuffer, x$1: Int): Int
Inherited from:
BaseAtomicHdrHistogram
def getAndSetFromCountsArray(x$0: Int, x$1: Long): Long
Inherited from:
BaseAtomicHdrHistogram
Inherited from:
BaseAtomicHdrHistogram
def getEndTimeStamp(): Long
Inherited from:
BaseAtomicHdrHistogram
def getFromCountsArray(x$0: Int): Long
Inherited from:
BaseAtomicHdrHistogram
Inherited from:
BaseAtomicHdrHistogram
def getMaxValueAsDouble(): Double
Inherited from:
BaseAtomicHdrHistogram
Inherited from:
BaseAtomicHdrHistogram
def getStartTimeStamp(): Long
Inherited from:
BaseAtomicHdrHistogram
Inherited from:
BaseAtomicHdrHistogram
Inherited from:
BaseAtomicHdrHistogram
def getTag(): String
Inherited from:
BaseAtomicHdrHistogram
def getUnitMagnitude(): Int
Inherited from:
BaseAtomicHdrHistogram
@throws(java.lang.ArrayIndexOutOfBoundsException)
def recordValue(x$0: Long): Unit
Inherited from:
BaseAtomicHdrHistogram
@throws(java.lang.ArrayIndexOutOfBoundsException)
def recordValueWithCount(x$0: Long, x$1: Long): Unit
Inherited from:
BaseAtomicHdrHistogram
def remove(): Boolean

Removes this instrument from the metric.

Removes this instrument from the metric.

Inherited from:
Instrument
def reset(): Unit
Inherited from:
BaseAtomicHdrHistogram
def setEndTimeStamp(x$0: Long): Unit
Inherited from:
BaseAtomicHdrHistogram
def setStartTimeStamp(x$0: Long): Unit
Inherited from:
BaseAtomicHdrHistogram
def setTag(x$0: String): Unit
Inherited from:
BaseAtomicHdrHistogram
def snapshot(resetState: Boolean): Distribution
Inherited from:
DistributionSnapshotBuilder (hidden)
override def withTag(key: String, value: Long): RangeSampler
Definition Classes
Inherited from:
Instrument
override def withTag(key: String, value: Boolean): RangeSampler
Definition Classes
Inherited from:
Instrument
override def withTag(key: String, value: String): RangeSampler
Definition Classes
Inherited from:
Instrument
override def withTags(tags: TagSet): RangeSampler
Definition Classes
Inherited from:
Instrument