| Modifier and Type | Field and Description |
|---|---|
| pack-priv Map | |
| private static final CoalesceChecker | |
| pack-priv static final Coalescer | |
| pack-priv final ConnectionPoolDataSource | |
| private static final TaskRunnerFactory | |
| pack-priv final DbAuth | |
| pack-priv ThreadPoolReportingAsynchronousRunner | |
| pack-priv static final int | |
| pack-priv final Map | |
| private static final MLogger | |
| pack-priv int | |
| pack-priv final String | |
| pack-priv final String | |
| private static final boolean | |
| pack-priv final Map | |
| pack-priv ResourcePoolFactory | |
| pack-priv ThreadPoolReportingAsynchronousRunner | |
| pack-priv Timer | |
| pack-priv final Map |
| Access | Constructor and Description |
|---|---|
| public | C3P0PooledConnectionPoolManager(ConnectionPoolDataSource cpds, Map<K, V> flatPropertyOverrides, Map<K, V> forceUserOverrides, int num_task_threads, String parentDataSourceIdentityToken, String parentDataSourceName)
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public void | |
| public synchronized void | |
| private C3P0PooledConnectionPool | |
| private ThreadPoolReportingAsynchronousRunner | createTaskRunner(int num_threads_if_supported, int max_administrative_task_time_if_supported, String contextClassLoaderSourceIfSupported, boolean privilege_spawned_threads_if_supported, String threadLabelIfSupported, ConnectionPoolDataSource cpds, Timer timer)
|
| private void | |
| protected synchronized void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| private int | |
| private int | |
| private int | |
| private boolean | |
| public String | |
| private boolean | |
| private boolean | |
| private int | |
| private ConnectionCustomizer | |
| private String | |
| private int | |
| private ConnectionTester | |
| private String | |
| private String | |
| private boolean | |
| private boolean | |
| private int | |
| private int | |
| private int | |
| public synchronized Set | |
| private String | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private int | |
| public int | |
| public synchronized int | |
| public synchronized int | |
| public synchronized int | |
| public synchronized int | |
| public synchronized int | |
| private Object | |
| public synchronized C3P0PooledConnectionPool | |
| public C3P0PooledConnectionPool | |
| public synchronized C3P0PooledConnectionPool | |
| public C3P0PooledConnectionPool | |
| public String | |
| private boolean | |
| private int | |
| public synchronized int | |
| public synchronized int | |
| private int | |
| public synchronized int | |
| public int | |
| public synchronized int | |
| public synchronized int | |
| public synchronized int | |
| public int | |
| public int | |
| public int | |
| public String | |
| public String | |
| private String | |
| private TaskRunnerFactory | |
| private String | |
| private boolean | |
| private boolean | |
| public int | |
| public int | |
| public int | |
| public int | |
| public String | |
| public String | |
| private int | |
| private String | |
| private String | |
| private void | |
| private synchronized void | |
| private void | |
| public synchronized void |
| authsToPools | back to summary |
|---|---|
| pack-priv Map<K, V> authsToPools | |
| COALESCE_CHECKER | back to summary |
|---|---|
| private static final CoalesceChecker COALESCE_CHECKER | |
| COALESCER | back to summary |
|---|---|
| pack-priv static final Coalescer COALESCER | |
| cpds | back to summary |
|---|---|
| pack-priv final ConnectionPoolDataSource cpds | |
| DEFAULT_TASK_RUNNER_FACTORY | back to summary |
|---|---|
| private static final TaskRunnerFactory DEFAULT_TASK_RUNNER_FACTORY | |
| defaultAuth | back to summary |
|---|---|
| pack-priv final DbAuth defaultAuth | |
| deferredStatementDestroyer | back to summary |
|---|---|
| pack-priv ThreadPoolReportingAsynchronousRunner deferredStatementDestroyer | |
| DFLT_NUM_TASK_THREADS_PER_DATA_SOURCE | back to summary |
|---|---|
| pack-priv static final int DFLT_NUM_TASK_THREADS_PER_DATA_SOURCE | |
| flatPropertyOverrides | back to summary |
|---|---|
| pack-priv final Map<K, V> flatPropertyOverrides | |
| logger | back to summary |
|---|---|
| private static final MLogger logger | |
| num_task_threads | back to summary |
|---|---|
| pack-priv int num_task_threads | |
| parentDataSourceIdentityToken | back to summary |
|---|---|
| pack-priv final String parentDataSourceIdentityToken | |
| parentDataSourceName | back to summary |
|---|---|
| pack-priv final String parentDataSourceName | |
| POOL_EVENT_SUPPORT | back to summary |
|---|---|
| private static final boolean POOL_EVENT_SUPPORT | |
| propNamesToReadMethods | back to summary |
|---|---|
| pack-priv final Map<K, V> propNamesToReadMethods | |
| rpfact | back to summary |
|---|---|
| pack-priv ResourcePoolFactory rpfact | |
| taskRunner | back to summary |
|---|---|
| pack-priv ThreadPoolReportingAsynchronousRunner taskRunner | |
| timer | back to summary |
|---|---|
| pack-priv Timer timer | |
| userOverrides | back to summary |
|---|---|
| pack-priv final Map<K, V> userOverrides | |
| C3P0PooledConnectionPoolManager | back to summary |
|---|---|
| public C3P0PooledConnectionPoolManager(ConnectionPoolDataSource cpds, Map<K, V> flatPropertyOverrides, Map<K, V> forceUserOverrides, int num_task_threads, String parentDataSourceIdentityToken, String parentDataSourceName) throws SQLException | |
| checkAutomaticTestTable | back to summary |
|---|---|
| private boolean checkAutomaticTestTable(String automaticTestTable) | |
| close | back to summary |
|---|---|
| public void close() | |
| close | back to summary |
|---|---|
| public synchronized void close(boolean close_outstanding_connections) | |
| createPooledConnectionPool | back to summary |
|---|---|
| private C3P0PooledConnectionPool createPooledConnectionPool(DbAuth auth) throws SQLException | |
| createTaskRunner | back to summary |
|---|---|
| private ThreadPoolReportingAsynchronousRunner createTaskRunner(int num_threads_if_supported, int max_administrative_task_time_if_supported, String contextClassLoaderSourceIfSupported, boolean privilege_spawned_threads_if_supported, String threadLabelIfSupported, ConnectionPoolDataSource cpds, Timer timer) | |
| ensureFirstConnectionAcquisition | back to summary |
|---|---|
| private void ensureFirstConnectionAcquisition(DbAuth auth) throws SQLException | |
| finalize | back to summary |
|---|---|
| protected synchronized void finalize() Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| getAcquireIncrement | back to summary |
|---|---|
| private int getAcquireIncrement(String userName) | |
| getAcquireRetryAttempts | back to summary |
|---|---|
| private int getAcquireRetryAttempts(String userName) | |
| getAcquireRetryDelay | back to summary |
|---|---|
| private int getAcquireRetryDelay(String userName) | |
| getAttemptResurrectOnCheckin | back to summary |
|---|---|
| private boolean getAttemptResurrectOnCheckin(String userName) | |
| getAutomaticTestTable | back to summary |
|---|---|
| public String getAutomaticTestTable(String userName) | |
| getBoolean | back to summary |
|---|---|
| private boolean getBoolean(String propName, String userName) throws Exception | |
| getBreakAfterAcquireFailure | back to summary |
|---|---|
| private boolean getBreakAfterAcquireFailure(String userName) | |
| getCheckoutTimeout | back to summary |
|---|---|
| private int getCheckoutTimeout(String userName) | |
| getConnectionCustomizer | back to summary |
|---|---|
| private ConnectionCustomizer getConnectionCustomizer(String userName) throws SQLException | |
| getConnectionCustomizerClassName | back to summary |
|---|---|
| private String getConnectionCustomizerClassName(String userName) | |
| getConnectionIsValidTimeout | back to summary |
|---|---|
| private int getConnectionIsValidTimeout(String userName) | |
| getConnectionTester | back to summary |
|---|---|
| private ConnectionTester getConnectionTester(String userName) | |
| getConnectionTesterClassName | back to summary |
|---|---|
| private String getConnectionTesterClassName(String userName) | |
| getContextClassLoaderSource | back to summary |
|---|---|
| private String getContextClassLoaderSource() | |
| getDebugUnreturnedConnectionStackTraces | back to summary |
|---|---|
| private boolean getDebugUnreturnedConnectionStackTraces(String userName) | |
| getForceSynchronousCheckins | back to summary |
|---|---|
| private boolean getForceSynchronousCheckins(String userName) | |
| getIdleConnectionTestPeriod | back to summary |
|---|---|
| private int getIdleConnectionTestPeriod(String userName) | |
| getInitialPoolSize | back to summary |
|---|---|
| private int getInitialPoolSize(String userName) | |
| getInt | back to summary |
|---|---|
| private int getInt(String propName, String userName) throws Exception | |
| getManagedAuths | back to summary |
|---|---|
| public synchronized Set | |
| getMarkSessionBoundaries | back to summary |
|---|---|
| private String getMarkSessionBoundaries(String userName) | |
| getMaxAdministrativeTaskTime | back to summary |
|---|---|
| private int getMaxAdministrativeTaskTime() | |
| getMaxConnectionAge | back to summary |
|---|---|
| private int getMaxConnectionAge(String userName) | |
| getMaxIdleTime | back to summary |
|---|---|
| private int getMaxIdleTime(String userName) | |
| getMaxIdleTimeExcessConnections | back to summary |
|---|---|
| private int getMaxIdleTimeExcessConnections(String userName) | |
| getMaxPoolSize | back to summary |
|---|---|
| private int getMaxPoolSize(String userName) | |
| getMaxStatements | back to summary |
|---|---|
| private int getMaxStatements(String userName) | |
| getMaxStatementsPerConnection | back to summary |
|---|---|
| private int getMaxStatementsPerConnection(String userName) | |
| getMinPoolSize | back to summary |
|---|---|
| public int getMinPoolSize(String userName) | |
| getNumBusyConnectionsAllAuths | back to summary |
|---|---|
| public synchronized int getNumBusyConnectionsAllAuths() throws SQLException | |
| getNumConnectionsAllAuths | back to summary |
|---|---|
| public synchronized int getNumConnectionsAllAuths() throws SQLException | |
| getNumIdleConnectionsAllAuths | back to summary |
|---|---|
| public synchronized int getNumIdleConnectionsAllAuths() throws SQLException | |
| getNumManagedAuths | back to summary |
|---|---|
| public synchronized int getNumManagedAuths() | |
| getNumUnclosedOrphanedConnectionsAllAuths | back to summary |
|---|---|
| public synchronized int getNumUnclosedOrphanedConnectionsAllAuths() throws SQLException | |
| getObject | back to summary |
|---|---|
| private Object getObject(String propName, String userName) | |
| getPool | back to summary |
|---|---|
| public synchronized C3P0PooledConnectionPool getPool(String username, String password, boolean create) throws SQLException | |
| getPool | back to summary |
|---|---|
| public C3P0PooledConnectionPool getPool(String username, String password) throws SQLException | |
| getPool | back to summary |
|---|---|
| public synchronized C3P0PooledConnectionPool getPool(DbAuth auth) throws SQLException | |
| getPool | back to summary |
|---|---|
| public C3P0PooledConnectionPool getPool() throws SQLException | |
| getPreferredTestQuery | back to summary |
|---|---|
| public String getPreferredTestQuery(String userName) | |
| getPrivilegeSpawnedThreads | back to summary |
|---|---|
| private boolean getPrivilegeSpawnedThreads() | |
| getPropertyCycle | back to summary |
|---|---|
| private int getPropertyCycle(String userName) | |
| getStatementCacheNumCheckedOutStatementsAllUsers | back to summary |
|---|---|
| public synchronized int getStatementCacheNumCheckedOutStatementsAllUsers() throws SQLException | |
| getStatementCacheNumConnectionsWithCachedStatementsAllUsers | back to summary |
|---|---|
| public synchronized int getStatementCacheNumConnectionsWithCachedStatementsAllUsers() throws SQLException | |
| getStatementCacheNumDeferredCloseThreads | back to summary |
|---|---|
| private int getStatementCacheNumDeferredCloseThreads() | |
| getStatementCacheNumStatementsAllUsers | back to summary |
|---|---|
| public synchronized int getStatementCacheNumStatementsAllUsers() throws SQLException | |
| getStatementDestroyerNumActiveThreads | back to summary |
|---|---|
| public int getStatementDestroyerNumActiveThreads() | |
| getStatementDestroyerNumConnectionsInUseAllUsers | back to summary |
|---|---|
| public synchronized int getStatementDestroyerNumConnectionsInUseAllUsers() throws SQLException | |
| getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers | back to summary |
|---|---|
| public synchronized int getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers() throws SQLException | |
| getStatementDestroyerNumDeferredDestroyStatementsAllUsers | back to summary |
|---|---|
| public synchronized int getStatementDestroyerNumDeferredDestroyStatementsAllUsers() throws SQLException | |
| getStatementDestroyerNumIdleThreads | back to summary |
|---|---|
| public int getStatementDestroyerNumIdleThreads() | |
| getStatementDestroyerNumTasksPending | back to summary |
|---|---|
| public int getStatementDestroyerNumTasksPending() | |
| getStatementDestroyerNumThreads | back to summary |
|---|---|
| public int getStatementDestroyerNumThreads() | |
| getStatementDestroyerStackTraces | back to summary |
|---|---|
| public String getStatementDestroyerStackTraces() | |
| getStatementDestroyerStatus | back to summary |
|---|---|
| public String getStatementDestroyerStatus() | |
| getString | back to summary |
|---|---|
| private String getString(String propName, String userName) | |
| getTaskRunnerFactory | back to summary |
|---|---|
| private TaskRunnerFactory getTaskRunnerFactory(String userName) | |
| getTaskRunnerFactoryClassName | back to summary |
|---|---|
| private String getTaskRunnerFactoryClassName(String userName) | |
| getTestConnectionOnCheckin | back to summary |
|---|---|
| private boolean getTestConnectionOnCheckin(String userName) | |
| getTestConnectionOnCheckout | back to summary |
|---|---|
| private boolean getTestConnectionOnCheckout(String userName) | |
| getThreadPoolNumActiveThreads | back to summary |
|---|---|
| public int getThreadPoolNumActiveThreads() | |
| getThreadPoolNumIdleThreads | back to summary |
|---|---|
| public int getThreadPoolNumIdleThreads() | |
| getThreadPoolNumTasksPending | back to summary |
|---|---|
| public int getThreadPoolNumTasksPending() | |
| getThreadPoolSize | back to summary |
|---|---|
| public int getThreadPoolSize() | |
| getThreadPoolStackTraces | back to summary |
|---|---|
| public String getThreadPoolStackTraces() | |
| getThreadPoolStatus | back to summary |
|---|---|
| public String getThreadPoolStatus() | |
| getUnreturnedConnectionTimeout | back to summary |
|---|---|
| private int getUnreturnedConnectionTimeout(String userName) | |
| idString | back to summary |
|---|---|
| private String idString() | |
| initializeAutomaticTestTable | back to summary |
|---|---|
| private String initializeAutomaticTestTable(String automaticTestTable, DbAuth auth) throws SQLException | |
| poolsDestroy | back to summary |
|---|---|
| private void poolsDestroy() | |
| poolsDestroy | back to summary |
|---|---|
| private synchronized void poolsDestroy(boolean close_outstanding_connections) | |
| poolsInit | back to summary |
|---|---|
| private void poolsInit() | |
| softResetAllAuths | back to summary |
|---|---|
| public synchronized void softResetAllAuths() throws SQLException | |