public final class C3P0PooledConnectionPoolManager
extends java.lang.Object
Constructor and Description |
---|
C3P0PooledConnectionPoolManager(javax.sql.ConnectionPoolDataSource cpds,
java.util.Map flatPropertyOverrides,
java.util.Map forceUserOverrides,
int num_task_threads,
java.lang.String parentDataSourceIdentityToken,
java.lang.String parentDataSourceName) |
public C3P0PooledConnectionPoolManager(javax.sql.ConnectionPoolDataSource cpds, java.util.Map flatPropertyOverrides, java.util.Map forceUserOverrides, int num_task_threads, java.lang.String parentDataSourceIdentityToken, java.lang.String parentDataSourceName) throws java.sql.SQLException
java.sql.SQLException
public int getThreadPoolSize()
public int getThreadPoolNumActiveThreads()
public int getThreadPoolNumIdleThreads()
public int getThreadPoolNumTasksPending()
public java.lang.String getThreadPoolStackTraces()
public java.lang.String getThreadPoolStatus()
public int getStatementDestroyerNumThreads()
public int getStatementDestroyerNumActiveThreads()
public int getStatementDestroyerNumIdleThreads()
public int getStatementDestroyerNumTasksPending()
public java.lang.String getStatementDestroyerStackTraces()
public java.lang.String getStatementDestroyerStatus()
public C3P0PooledConnectionPool getPool(java.lang.String username, java.lang.String password, boolean create) throws java.sql.SQLException
java.sql.SQLException
public C3P0PooledConnectionPool getPool(java.lang.String username, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
public C3P0PooledConnectionPool getPool(DbAuth auth) throws java.sql.SQLException
java.sql.SQLException
public java.util.Set getManagedAuths()
public int getNumManagedAuths()
public C3P0PooledConnectionPool getPool() throws java.sql.SQLException
java.sql.SQLException
public int getNumIdleConnectionsAllAuths() throws java.sql.SQLException
java.sql.SQLException
public int getNumBusyConnectionsAllAuths() throws java.sql.SQLException
java.sql.SQLException
public int getNumConnectionsAllAuths() throws java.sql.SQLException
java.sql.SQLException
public int getNumUnclosedOrphanedConnectionsAllAuths() throws java.sql.SQLException
java.sql.SQLException
public int getStatementCacheNumStatementsAllUsers() throws java.sql.SQLException
java.sql.SQLException
public int getStatementCacheNumCheckedOutStatementsAllUsers() throws java.sql.SQLException
java.sql.SQLException
public int getStatementCacheNumConnectionsWithCachedStatementsAllUsers() throws java.sql.SQLException
java.sql.SQLException
public int getStatementDestroyerNumConnectionsInUseAllUsers() throws java.sql.SQLException
java.sql.SQLException
public int getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers() throws java.sql.SQLException
java.sql.SQLException
public int getStatementDestroyerNumDeferredDestroyStatementsAllUsers() throws java.sql.SQLException
java.sql.SQLException
public void softResetAllAuths() throws java.sql.SQLException
java.sql.SQLException
public void close()
public void close(boolean close_outstanding_connections)
protected void finalize()
finalize
in class java.lang.Object
public java.lang.String getAutomaticTestTable(java.lang.String userName)
public java.lang.String getPreferredTestQuery(java.lang.String userName)
public int getMinPoolSize(java.lang.String userName)