PoolWaitProbe class final

Filled by a pooled driver with the time a query waited for a connection. It sits in the zone of a query only while a listener wants the number.

Constructors

PoolWaitProbe()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
waited ↔ Duration
The time the query waited for a pooled connection.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<T>(Future<T> body()) → Future<T>
Runs body with this probe in its zone.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

current → PoolWaitProbe?
The probe of the running query, if any.
no setter