RecordableHistogram

sealed external interface RecordableHistogram : Histogram(source)

Properties

Link copied to clipboard
abstract val count: Double

The number of samples recorded by the histogram.

Link copied to clipboard
abstract val countBigInt: BigInt

The number of samples recorded by the histogram. v17.4.0, v16.14.0

Link copied to clipboard
abstract val exceeds: Double

The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.

Link copied to clipboard
abstract val exceedsBigInt: BigInt

The number of times the event loop delay exceeded the maximum 1 hour event loop delay threshold.

Link copied to clipboard
abstract val max: Double

The maximum recorded event loop delay.

Link copied to clipboard
abstract val maxBigInt: Double

The maximum recorded event loop delay. v17.4.0, v16.14.0

Link copied to clipboard
abstract val mean: Double

The mean of the recorded event loop delays.

Link copied to clipboard
abstract val min: Double

The minimum recorded event loop delay.

Link copied to clipboard
abstract val minBigInt: BigInt

The minimum recorded event loop delay. v17.4.0, v16.14.0

Link copied to clipboard
abstract val percentiles: Map<Double, Double>

Returns a Map object detailing the accumulated percentile distribution.

Link copied to clipboard

Returns a Map object detailing the accumulated percentile distribution.

Link copied to clipboard
abstract val stddev: Double

The standard deviation of the recorded event loop delays.

Functions

Link copied to clipboard
abstract fun add(other: RecordableHistogram)

Adds the values from other to this histogram.

Link copied to clipboard
abstract fun percentile(percentile: Number): Double

Returns the value at the given percentile.

Link copied to clipboard
abstract fun percentileBigInt(percentile: Number): BigInt

Returns the value at the given percentile.

Link copied to clipboard
abstract fun record(value: BigInt)
abstract fun record(value: Double)
Link copied to clipboard
abstract fun recordDelta()

Calculates the amount of time (in nanoseconds) that has passed since the previous call to recordDelta() and records that amount in the histogram.

Link copied to clipboard
abstract fun reset()

Resets the collected histogram data.