PoolState class
Current state of a connection pool.
Provides information about the pool's size and how many connections are currently idle (available for use).
Example:
final state = await service.poolGetState(poolId);
print('Pool size: ${state.size}, Idle: ${state.idle}');
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- idle → int
-
Number of connections currently idle and available for use.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Total number of connections in the pool (active + idle).
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