Class C3P0PooledConnectionPoolManager
java.lang.Object
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager
-
Constructor Summary
ConstructorsConstructorDescriptionC3P0PooledConnectionPoolManager(ConnectionPoolDataSource cpds, Map flatPropertyOverrides, Map forceUserOverrides, int num_task_threads, String parentDataSourceIdentityToken, String parentDataSourceName) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidclose(boolean close_outstanding_connections) protected voidfinalize()getAutomaticTestTable(String userName) intgetMinPoolSize(String userName) intintintintintgetPool()getPreferredTestQuery(String userName) intintintintintintintintintintintintintintvoid
-
Constructor Details
-
C3P0PooledConnectionPoolManager
public C3P0PooledConnectionPoolManager(ConnectionPoolDataSource cpds, Map flatPropertyOverrides, Map forceUserOverrides, int num_task_threads, String parentDataSourceIdentityToken, String parentDataSourceName) throws SQLException - Throws:
SQLException
-
-
Method Details
-
getThreadPoolSize
public int getThreadPoolSize() -
getThreadPoolNumActiveThreads
public int getThreadPoolNumActiveThreads() -
getThreadPoolNumIdleThreads
public int getThreadPoolNumIdleThreads() -
getThreadPoolNumTasksPending
public int getThreadPoolNumTasksPending() -
getThreadPoolStackTraces
-
getThreadPoolStatus
-
getStatementDestroyerNumThreads
public int getStatementDestroyerNumThreads() -
getStatementDestroyerNumActiveThreads
public int getStatementDestroyerNumActiveThreads() -
getStatementDestroyerNumIdleThreads
public int getStatementDestroyerNumIdleThreads() -
getStatementDestroyerNumTasksPending
public int getStatementDestroyerNumTasksPending() -
getStatementDestroyerStackTraces
-
getStatementDestroyerStatus
-
getPool
public C3P0PooledConnectionPool getPool(String username, String password, boolean create) throws SQLException - Throws:
SQLException
-
getPool
- Throws:
SQLException
-
getPool
- Throws:
SQLException
-
getManagedAuths
-
getNumManagedAuths
public int getNumManagedAuths() -
getPool
- Throws:
SQLException
-
getNumIdleConnectionsAllAuths
- Throws:
SQLException
-
getNumBusyConnectionsAllAuths
- Throws:
SQLException
-
getNumConnectionsAllAuths
- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsAllAuths
- Throws:
SQLException
-
getStatementCacheNumStatementsAllUsers
- Throws:
SQLException
-
getStatementCacheNumCheckedOutStatementsAllUsers
- Throws:
SQLException
-
getStatementCacheNumConnectionsWithCachedStatementsAllUsers
- Throws:
SQLException
-
getStatementDestroyerNumConnectionsInUseAllUsers
- Throws:
SQLException
-
getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers
public int getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers() throws SQLException- Throws:
SQLException
-
getStatementDestroyerNumDeferredDestroyStatementsAllUsers
- Throws:
SQLException
-
softResetAllAuths
- Throws:
SQLException
-
close
public void close() -
close
public void close(boolean close_outstanding_connections) -
finalize
-
getAutomaticTestTable
-
getPreferredTestQuery
-
getMinPoolSize
-