public static class ConnectionPool.Status extends Object implements org.avaje.datasource.PoolStatus
| Modifier and Type | Method and Description |
|---|---|
int |
getBusy()
Return the current number of busy connections in the pool.
|
int |
getFree()
Return the current number of free connections in the pool.
|
int |
getHighWaterMark()
Return the high water mark of busy connections.
|
int |
getHitCount()
Return the total number of times there was an attempt to get a
connection.
|
int |
getMaxSize()
Return the max pool size.
|
int |
getMinSize()
Return the min pool size.
|
int |
getWaitCount()
Return the total number of times a thread had to wait.
|
int |
getWaiting()
Return the current number of threads waiting for a connection.
|
String |
toString() |
public int getMinSize()
getMinSize in interface org.avaje.datasource.PoolStatuspublic int getMaxSize()
getMaxSize in interface org.avaje.datasource.PoolStatuspublic int getFree()
getFree in interface org.avaje.datasource.PoolStatuspublic int getBusy()
getBusy in interface org.avaje.datasource.PoolStatuspublic int getWaiting()
getWaiting in interface org.avaje.datasource.PoolStatuspublic int getHighWaterMark()
getHighWaterMark in interface org.avaje.datasource.PoolStatuspublic int getWaitCount()
getWaitCount in interface org.avaje.datasource.PoolStatuspublic int getHitCount()
If the attempt to get a connection failed with a timeout or other exception those attempts are still included in this hit count.
getHitCount in interface org.avaje.datasource.PoolStatusCopyright © 2017. All rights reserved.