AsyncWorkerPoolStats class final

Snapshot of async worker pool counters.

Values are captured when AsyncNativeOdbcConnection.getWorkerPoolStats is called and are maintained entirely on the Dart side.

Constructors

AsyncWorkerPoolStats({required int workerCount, required int activeRequests, required int pendingRequests, required int totalRouted, required int completedRequests, required int failedRequests, required int timeouts, required int fallbacksToBlocking, required int cancelAttempts, required int cancelSucceeded, required int cancelUnsupported, required int latencyAvgMicros, required int latencyP95Micros, required int latencyMaxMicros, required int queueWaitAvgMicros, required int queueWaitP95Micros, required int queueWaitMaxMicros, required int executionAvgMicros, required int executionP95Micros, required int executionMaxMicros, required List<AsyncWorkerStats> workers})
const

Properties

activeRequests int
Requests currently in flight across all workers.
final
cancelAttempts int
final
cancelSucceeded int
final
cancelUnsupported int
final
completedRequests int
Total requests completed without a response-level error.
final
executionAvgMicros int
final
executionMaxMicros int
final
executionP95Micros int
final
failedRequests int
Total requests that timed out, threw, or returned a response-level error.
final
fallbacksToBlocking int
Parameterized async starts that fell back to the blocking query path.
final
hashCode int
The hash code for this object.
no setterinherited
latencyAvgMicros int
final
latencyMaxMicros int
final
latencyP95Micros int
final
pendingRequests int
Requests awaiting a response across all workers.
final
queueWaitAvgMicros int
final
queueWaitMaxMicros int
final
queueWaitP95Micros int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeouts int
Requests that timed out while waiting for a worker response.
final
totalRouted int
Total requests routed to workers since initialization.
final
workerCount int
Configured number of worker isolates.
final
workers List<AsyncWorkerStats>
final

Methods

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

Operators

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