add

fun add(value: T)(source)

Adds a single observation of value (increments its count by 1).

Parameters

value

the value to observe.


fun add(value: T, count: Long)(source)

Adds count observations of value.

Parameters

value

the value to observe.

count

the number of observations to add; must be positive.

Throws

if count is not positive.