public interface ConnectionPoolState
An interface encapsulating the state of a connection pool at a given time.
-
Method Summary
-
Method Details
-
size
int size()- Returns:
- the total number of connections being managed by the pool
-
inUse
int inUse()- Returns:
- the number of connections currently in use
-
waiting
int waiting()- Returns:
- the number of pending requests
-
timestamp
long timestamp()- Returns:
- the timestamp associated with this pool state
-