public interface ConnectionPoolMetrics
Modifier and Type | Interface and Description |
---|---|
static class |
ConnectionPoolMetrics.DelegatingConnectionPoolMetrics |
Modifier and Type | Method and Description |
---|---|
int |
acquiredSize()
Measure the current number of resources that have been successfully
acquired and are in active use.
|
int |
allocatedSize()
Measure the current number of allocated resources in the pool, acquired
or idle.
|
int |
idleSize()
Measure the current number of idle resources in the pool.
|
int |
pendingAcquireSize()
Measure the current number of "pending" acquire Monos in the Pool.
|
int acquiredSize()
int allocatedSize()
int idleSize()
Note that some resources might be lazily evicted when they're next considered for an incoming acquire call. Such resources would still count towards this method.
int pendingAcquireSize()
An acquire is in the pending state when it is attempted at a point when no idle resource is available in the pool, and no new resource can be created.