PoolResize class final

Emitted by poolSetSize after a successful capacity change. Useful for dashboards that track pool elasticity over time.

Inheritance

Constructors

PoolResize({required DateTime timestamp, required int poolId, required int oldSize, required int newSize})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
newSize → int
Capacity after the resize.
final
oldSize → int
Capacity before the resize.
final
poolId → int
Native pool id whose size changed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
UTC time when the event was emitted by the runtime.
finalinherited

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