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

RecencyResult

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

Properties

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.