Finished

class Finished @JvmOverloads constructor(val dispatcher: String, val timestampNanos: Long, val runTimeNanos: Long, val outcome: TraceOutcome, val coroutineName: String?, val thread: ThreadInfo?, val spanId: Long? = null, val parentSpanId: Long? = null, val dispatchId: Long = 0, val spanName: String? = null) : TraceEvent(source)

A block finished after running for runTimeNanos, with the given outcome.

Constructors

Link copied to clipboard
constructor(dispatcher: String, timestampNanos: Long, runTimeNanos: Long, outcome: TraceOutcome, coroutineName: String?, thread: ThreadInfo?, spanId: Long? = null, parentSpanId: Long? = null, dispatchId: Long = 0, spanName: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
open override val dispatcher: String

Label of the dispatcher that produced the event, such as "io" or "default".

Link copied to clipboard
Link copied to clipboard
open override val level: TraceLevel

Lowest TraceLevel at which this event is produced.

Link copied to clipboard

how the block ended.

Link copied to clipboard
Link copied to clipboard

time the block ran, in nanoseconds.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val timestampNanos: Long

Monotonic timestamp in nanoseconds. Only differences between events are meaningful.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String