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
firecalls that returnedtrue(broadcast counts each worker).final - dropped → int
-
firecalls that reached no worker.final - failedRequests → int
-
requestcalls that failed before or during dispatch.final - fired → int
-
firecalls made on the pool.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
perWorker
→ List<
WorkerMetrics> -
final
- readyWorkers → int
-
final
- requests → int
-
requestcalls 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