Class C3P0PooledConnectionPool

java.lang.Object
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool

public final class C3P0PooledConnectionPool extends Object
  • Method Details

    • getStatementDestroyerNumConnectionsInUse

      public int getStatementDestroyerNumConnectionsInUse()
    • getStatementDestroyerNumConnectionsWithDeferredDestroyStatements

      public int getStatementDestroyerNumConnectionsWithDeferredDestroyStatements()
    • getStatementDestroyerNumDeferredDestroyStatements

      public int getStatementDestroyerNumDeferredDestroyStatements()
    • checkoutPooledConnection

      public PooledConnection checkoutPooledConnection() throws SQLException
      Throws:
      SQLException
    • checkinPooledConnection

      public void checkinPooledConnection(PooledConnection pcon) throws SQLException
      Throws:
      SQLException
    • getEffectivePropertyCycle

      public float getEffectivePropertyCycle() throws SQLException
      Throws:
      SQLException
    • getNumThreadsAwaitingCheckout

      public int getNumThreadsAwaitingCheckout() throws SQLException
      Throws:
      SQLException
    • getStatementCacheNumStatements

      public int getStatementCacheNumStatements()
    • getStatementCacheNumCheckedOut

      public int getStatementCacheNumCheckedOut()
    • getStatementCacheNumConnectionsWithCachedStatements

      public int getStatementCacheNumConnectionsWithCachedStatements()
    • dumpStatementCacheStatus

      public String dumpStatementCacheStatus()
    • close

      public void close() throws SQLException
      Throws:
      SQLException
    • close

      public void close(boolean close_outstanding_connections) throws SQLException
      Throws:
      SQLException
    • getNumConnections

      public int getNumConnections() throws SQLException
      Throws:
      SQLException
    • getNumIdleConnections

      public int getNumIdleConnections() throws SQLException
      Throws:
      SQLException
    • getNumBusyConnections

      public int getNumBusyConnections() throws SQLException
      Throws:
      SQLException
    • getNumUnclosedOrphanedConnections

      public int getNumUnclosedOrphanedConnections() throws SQLException
      Throws:
      SQLException
    • getStartTime

      public long getStartTime() throws SQLException
      Throws:
      SQLException
    • getUpTime

      public long getUpTime() throws SQLException
      Throws:
      SQLException
    • getNumFailedCheckins

      public long getNumFailedCheckins() throws SQLException
      Throws:
      SQLException
    • getNumFailedCheckouts

      public long getNumFailedCheckouts() throws SQLException
      Throws:
      SQLException
    • getNumFailedIdleTests

      public long getNumFailedIdleTests() throws SQLException
      Throws:
      SQLException
    • getLastCheckinFailure

      public Throwable getLastCheckinFailure() throws SQLException
      Throws:
      SQLException
    • getLastCheckoutFailure

      public Throwable getLastCheckoutFailure() throws SQLException
      Throws:
      SQLException
    • getLastIdleTestFailure

      public Throwable getLastIdleTestFailure() throws SQLException
      Throws:
      SQLException
    • getLastConnectionTestFailure

      public Throwable getLastConnectionTestFailure() throws SQLException
      Throws:
      SQLException
    • getLastAcquisitionFailure

      public Throwable getLastAcquisitionFailure() throws SQLException
      Throws:
      SQLException
    • reset

      public void reset() throws SQLException
      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