| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the number of acquired resourcesMeasure the current number of resources that have been successfully acquired and are in active use. |
| public int | Returns: the total number of allocated resources managed by the poolMeasure the current number of allocated resources in the pool, acquired or idle. |
| public int | Returns: the number of idle resourcesMeasure the current number of idle resources in the pool. |
| public int | Returns: the maximum number of live resources that can be allocated by this PoolGet the maximum number of live resources this Pool will allow. |
| public int | Returns: the maximum number of pending acquire that can be enqueued by this PoolGet the maximum number of |
| public int | Returns: the number of pending acquireMeasure the current number of "pending" acquire Monos in the Pool. |
| acquiredSize | back to summary |
|---|---|
| public int acquiredSize() Measure the current number of resources that have been successfully acquired and are in active use.
| |
| allocatedSize | back to summary |
|---|---|
| public int allocatedSize() Measure the current number of allocated resources in the pool, acquired or idle.
| |
| idleSize | back to summary |
|---|---|
| public int idleSize() Measure the current number of idle resources in the pool. 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.
| |
| maxAllocatedSize | back to summary |
|---|---|
| public int maxAllocatedSize() Get the maximum number of live resources this Pool will allow.
A Pool might be unbounded, in which case this method returns
| |
| maxPendingAcquireSize | back to summary |
|---|---|
| public int maxPendingAcquireSize() Get the maximum number of
A Pool pending queue might be unbounded, in which case this method returns
| |
| pendingAcquireSize | back to summary |
|---|---|
| public int pendingAcquireSize() Measure the current number of "pending" acquire Monos in the Pool. 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.
| |