WorkerPoolMetrics class

A snapshot of the pool counters.

Constructors

WorkerPoolMetrics({required WorkerPoolState state, required int workers, required int readyWorkers, required int fired, required int accepted, required int dropped, required int requests, required int failedRequests, required int restarts, required List<WorkerMetrics> perWorker})
const

Properties

accepted → int
Worker fire calls that returned true (broadcast counts each worker).
final
dropped → int
fire calls that reached no worker.
final
failedRequests → int
request calls that failed before or during dispatch.
final
fired → int
fire calls made on the pool.
final
hashCode → int
The hash code for this object.
no setterinherited
perWorker → List<WorkerMetrics>
final
readyWorkers → int
final
requests → int
request calls routed to a worker.
final
restarts → int
Restart attempts scheduled by supervision.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → WorkerPoolState
final
workers → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited