DispatcherStats

data class DispatcherStats(val label: String, val totalDispatched: Long, val peakConcurrency: Int, val maxQueueDelay: Duration)(source)

Immutable snapshot of what an InstrumentedDispatcher observed.

Produced by InstrumentedDispatcher.snapshot and InstrumentedDispatcherProvider.stats.

Constructors

Link copied to clipboard
constructor(label: String, totalDispatched: Long, peakConcurrency: Int, maxQueueDelay: Duration)

Properties

Link copied to clipboard

name given to the instrumented dispatcher.

Link copied to clipboard

longest wait between dispatch and the start of a block.

Link copied to clipboard

highest number of blocks that were running at the same time.

Link copied to clipboard

number of blocks dispatched since creation or the last reset.