<< Click to Display Table of Contents >>

ConnectionPoolStatus

This class provides member variables and methods to get the state information of the connection pool.


Member Variables

OK

public final static int OK

ConnectionPool creation was successful.

DRIVER_ERROR

public final static int DRIVER_ERROR

Failed to load JDBC driver required to create ConnectionPool.

CONNECTION_ERROR

public final static int CONNECTION_ERROR

Failed to connect DBMS.


Method Detail

getStatusString

public String getStatusString()

Gets the current status message.

getStatus

public int getStatus()

Gets the current status.

getFreeConnectionCount

public int getFreeConnectionCount()

Gets the number of free connections.

getCheckedOutConnectionCount

public int getCheckedOutConnectionCount()

Gets the number of Checked out connections.

getErrorMessage

public String getErrorMessage()

Gets the error message occurred during ConnectionPool creation.