public interface PoolStatus
Current status of the DataSourcePool.
-
Method Summary
Modifier and TypeMethodDescriptionintbusy()Return number of busy connections.intfree()Return number of free connections.default intgetBusy()Deprecated.default intgetFree()Deprecated.default intDeprecated.default intDeprecated.default intDeprecated.default intDeprecated.default intDeprecated.default intDeprecated.intReturn the busy connection high water mark.inthitCount()Return the hit count against the pool.intmaxSize()Return the pools maximum size.intminSize()Return the pools minimum size.intReturn the number of times threads had to wait for connections.intwaiting()Return the number of threads waiting for connections.
-
Method Details
-
minSize
int minSize()Return the pools minimum size. -
getMinSize
Deprecated.Deprecated migrate to minSize() -
maxSize
int maxSize()Return the pools maximum size. -
getMaxSize
Deprecated.Deprecated migrate to maxSize() -
free
int free()Return number of free connections. -
getFree
Deprecated.Deprecated migrate to free() -
busy
int busy()Return number of busy connections. -
getBusy
Deprecated.Deprecated migrate to busy() -
waiting
int waiting()Return the number of threads waiting for connections. -
getWaiting
Deprecated.Deprecated migrate to waiting() -
highWaterMark
int highWaterMark()Return the busy connection high water mark. -
getHighWaterMark
Deprecated.Deprecated migrate to waiting() -
waitCount
int waitCount()Return the number of times threads had to wait for connections. -
getWaitCount
Deprecated.Deprecated migrate to waitCount() -
hitCount
int hitCount()Return the hit count against the pool. -
getHitCount
Deprecated.Deprecated migrate to hitCount()
-