Pool Stats
data class PoolStats(val total: Int, val inUse: Int, val idle: Int, val acquireCount: Long, val waitedAcquireCount: Long, val evictedCount: Long, val retiredCount: Long)
Snapshot of a SuspendConnectionPool's internal counters at a point in time.
All fields are read from atomic counters without locking, so they are individually accurate but the set as a whole may not represent a consistent moment — e.g. inUse + idle may differ slightly from total if reads race with a borrow.
Constructors
Properties
Link copied to clipboard
Total number of successful acquire calls over the pool's lifetime.
Link copied to clipboard
Total number of connections evicted because of validation failure or use error.
Link copied to clipboard
Total number of connections retired because they exceeded maxLifetime.
Link copied to clipboard
Total number of times a caller waited because the pool was saturated.