Queued

class Queued @JvmOverloads constructor(val dispatcher: String, val timestampNanos: Long, val coroutineName: String?, val spanId: Long? = null, val parentSpanId: Long? = null, val dispatchId: Long = 0, val spanName: String? = null) : TraceEvent(source)

A block was handed to the dispatcher. dispatchId identifies this one dispatched runnable across its Queued, Started and Finished events. spanId, parentSpanId and spanName come from the TraceSpan in the dispatch context and are null when there is none (same on Started and Finished).

Constructors

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

Properties

Link copied to clipboard

name from the CoroutineName element; null unless TraceLevel.Coroutine is enabled.

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

process-unique id of this dispatched runnable. Zero is reserved for manually constructed events.

Link copied to clipboard
open override val level: TraceLevel

Lowest TraceLevel at which this event is produced.

Link copied to clipboard

id of that span's parent, or null.

Link copied to clipboard
val spanId: Long?

id of the enclosing TraceSpan, or null.

Link copied to clipboard

low-cardinality name of the enclosing TraceSpan, or null.

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