
Public Member Functions | |
| Connection | getConnection () |
| long | getCreationDate () |
| long | getLockTime () |
| int | getStatus () |
| boolean | isFree () |
| void | lock () |
| void | setConnection (Connection connection) |
| void | setCreationDate (long creationDate) |
| void | setLockTime (long lockTime) |
| void | setStatus (int status) |
| String | toString () |
| void | unlock () |
Private Member Functions | |
| void | clearWarnings () |
| void | close () |
| ConnectionWrapper (ERXJDBCConnectionBroker broker) throws SQLException | |
| void | ping () |
| void | reap (long maxCheckoutMillis, long maxConnectionAgeMillis) throws SQLException |
Private Attributes | |
| ERXJDBCConnectionBroker | broker |
| Connection | connection |
| long | creationDate |
| long | lockTime |
| String | pingStatement = ERXProperties.stringForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.connectionPingSQL", "SELECT 1+1;") |
| int | status |
Static Private Attributes | |
| static final int | BUSY = 1 |
| static final int | FREE = 0 |
| static final int | OFFLINE = 2 |
| ConnectionWrapper | ( | ERXJDBCConnectionBroker | broker | ) | throws SQLException [private] |
| void clearWarnings | ( | ) | [private] |
| void close | ( | ) | [private] |
| Connection getConnection | ( | ) |
| long getCreationDate | ( | ) |
| long getLockTime | ( | ) |
| int getStatus | ( | ) |
| boolean isFree | ( | ) |
| void lock | ( | ) |
| void ping | ( | ) | [private] |
| void reap | ( | long | maxCheckoutMillis, | |
| long | maxConnectionAgeMillis | |||
| ) | throws SQLException [private] |
| void setConnection | ( | Connection | connection | ) |
| void setCreationDate | ( | long | creationDate | ) |
| void setLockTime | ( | long | lockTime | ) |
| void setStatus | ( | int | status | ) |
| String toString | ( | ) |
| void unlock | ( | ) |
ERXJDBCConnectionBroker broker [private] |
final int BUSY = 1 [static, private] |
Connection connection [private] |
long creationDate [private] |
final int FREE = 0 [static, private] |
long lockTime [private] |
final int OFFLINE = 2 [static, private] |
String pingStatement = ERXProperties.stringForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.connectionPingSQL", "SELECT 1+1;") [private] |
int status [private] |
1.5.8