org.jminor.common.db.pool
Interface ConnectionPoolState


public interface ConnectionPoolState

An interface encapsulating the state of a connection pool at a given time.


Method Summary
 int getInUse()
           
 int getSize()
           
 long getTimestamp()
           
 

Method Detail

getSize

int getSize()
Returns:
the total number of connections being managed by the pool

getInUse

int getInUse()
Returns:
the number of connections currently in use

getTimestamp

long getTimestamp()
Returns:
the timestamp associated with this pool state