Package com.mchange.v2.c3p0.impl
Class C3P0PooledConnectionPool
java.lang.Object
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool
-
Method Details
-
getStatementDestroyerNumConnectionsInUse
public int getStatementDestroyerNumConnectionsInUse() -
getStatementDestroyerNumConnectionsWithDeferredDestroyStatements
public int getStatementDestroyerNumConnectionsWithDeferredDestroyStatements() -
getStatementDestroyerNumDeferredDestroyStatements
public int getStatementDestroyerNumDeferredDestroyStatements() -
checkoutPooledConnection
- Throws:
SQLException
-
checkinPooledConnection
- Throws:
SQLException
-
getEffectivePropertyCycle
- Throws:
SQLException
-
getNumThreadsAwaitingCheckout
- Throws:
SQLException
-
getStatementCacheNumStatements
public int getStatementCacheNumStatements() -
getStatementCacheNumCheckedOut
public int getStatementCacheNumCheckedOut() -
getStatementCacheNumConnectionsWithCachedStatements
public int getStatementCacheNumConnectionsWithCachedStatements() -
dumpStatementCacheStatus
-
close
- Throws:
SQLException
-
close
- Throws:
SQLException
-
getNumConnections
- Throws:
SQLException
-
getNumIdleConnections
- Throws:
SQLException
-
getNumBusyConnections
- Throws:
SQLException
-
getNumUnclosedOrphanedConnections
- Throws:
SQLException
-
getStartTime
- Throws:
SQLException
-
getUpTime
- Throws:
SQLException
-
getNumFailedCheckins
- Throws:
SQLException
-
getNumFailedCheckouts
- Throws:
SQLException
-
getNumFailedIdleTests
- Throws:
SQLException
-
getLastCheckinFailure
- Throws:
SQLException
-
getLastCheckoutFailure
- Throws:
SQLException
-
getLastIdleTestFailure
- Throws:
SQLException
-
getLastConnectionTestFailure
- Throws:
SQLException
-
getLastAcquisitionFailure
- Throws:
SQLException
-
reset
Discards all Connections managed by the pool and reacquires new Connections to populate. Current checked out Connections will still be valid, and should still be checked into the pool (so the pool can destroy them).- Throws:
SQLException
-