Method Summary |
|
DBConnection | allocate() Allocate a connection either from the managed pool or create a new. |
void | drop(DBConnection dbConnection) Used to drop a connection from the pool. |
void | dropAllNow() Drop all the connection in the pool immediately. |
public int | getActiveCount() Return the number of currently active (allocated) connections. |
public String | getDatabaseName() |
public int | getMaxCount() Return the maximum number of connections active at one time. |
public Date | getMaxCountDate() Return the time when the maximum connection count occured. |
public long | getRequestCount() Return the number of database requests made on any of the
connection allocated from this managed pool. |
void | release(DBConnection dbConnection) Return a connection to the pool. |
public void | resetMaxCount() Reset the maximum connection count and date. |