MetricsResponse class

Response for pool state.

Inheritance

Constructors

MetricsResponse(int requestId, {int queryCount = 0, int errorCount = 0, int uptimeSecs = 0, int totalLatencyMillis = 0, int avgLatencyMillis = 0, String? error})
const

Properties

avgLatencyMillis → int
final
error → String?
final
errorCount → int
final
hashCode → int
The hash code for this object.
no setterinherited
queryCount → int
final
requestId → int
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalLatencyMillis → int
final
uptimeSecs → 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.
inherited

Operators

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