kumulant

RecencyResult

@Serializable
@SerialName(value = "RecencyResult")
data class RecencyResult(val lastObservedTimestampNanos: Long, val timestampNanos: Long, val hasObservation: Boolean) : Result(source)

Time since the most recent observation; hasObservation is false until the first update.

Constructors

Link copied to clipboard
constructor(lastObservedTimestampNanos: Long, timestampNanos: Long, hasObservation: Boolean)

Properties

Link copied to clipboard

Nanoseconds elapsed between the last observation and timestampNanos; -1L when no observation has been recorded.

Link copied to clipboard

False until the first SeriesStat.update has been recorded.

Link copied to clipboard

Timestamp (nanoseconds) of the most recent observation, or Long.MIN_VALUE before any update.

Link copied to clipboard

Timestamp (nanoseconds) at which the snapshot was taken.

RecencyResult

constructor(lastObservedTimestampNanos: Long, timestampNanos: Long, hasObservation: Boolean)(source)

elapsedNanos

Nanoseconds elapsed between the last observation and timestampNanos; -1L when no observation has been recorded.

hasObservation

False until the first SeriesStat.update has been recorded.

lastObservedTimestampNanos

Timestamp (nanoseconds) of the most recent observation, or Long.MIN_VALUE before any update.

timestampNanos

Timestamp (nanoseconds) at which the snapshot was taken.