statistics property
PoolStatistics
get
statistics
Returns current statistics snapshot of the connection pool. Useful for monitoring and debugging pool behavior.
Implementation
PoolStatistics get statistics => PoolStatistics(
totalConnections: _available.length + _inUse.length,
availableConnections: _available.length,
inUseConnections: _inUse.length,
waitingRequests: _waitingQueue.length,
maxSize: _maxSize,
isInitialized: _config != null,
);