Package io.ebean.datasource
Interface PoolStatus
-
public interface PoolStatus
Current status of the DataSourcePool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBusy()Return number of busy connections.intgetFree()Return number of free connections.intgetHighWaterMark()Return the busy connection high water mark.intgetHitCount()Return the hit count against the pool.intgetMaxSize()Return the pools maximum size.intgetMinSize()Return the pools minimum size.intgetWaitCount()Return the number of times threads had to wait for connections.intgetWaiting()Return the number of threads waiting for connections.
-
-
-
Method Detail
-
getMinSize
int getMinSize()
Return the pools minimum size.
-
getMaxSize
int getMaxSize()
Return the pools maximum size.
-
getFree
int getFree()
Return number of free connections.
-
getBusy
int getBusy()
Return number of busy connections.
-
getWaiting
int getWaiting()
Return the number of threads waiting for connections.
-
getHighWaterMark
int getHighWaterMark()
Return the busy connection high water mark.
-
getWaitCount
int getWaitCount()
Return the number of times threads had to wait for connections.
-
getHitCount
int getHitCount()
Return the hit count against the pool.
-
-