| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | C3P0PooledConnectionPool.
This "internal use lock" crap is a lot of ado about very little. |
| private static class | |
| pack-priv class | |
| private static class | |
| private static interface | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| pack-priv final boolean | |
| pack-priv final int | |
| pack-priv final ConnectionEventListener | |
| pack-priv final int | |
| pack-priv final ConnectionTester | |
| pack-priv final AsynchronousRunner | |
| pack-priv final boolean | |
| private static C3P0PooledConnectionPool. | |
| pack-priv final C3P0PooledConnectionPool. | |
| pack-priv static final MLogger | |
| private static C3P0PooledConnectionPool. | |
| private C3P0PooledConnectionPool. | |
| pack-priv final C3P0PooledConnectionPool. | |
| pack-priv final ResourcePool | |
| pack-priv final GooGooStatementCache | |
| pack-priv final AsynchronousRunner |
| Access | Constructor and Description |
|---|---|
| pack-priv | C3P0PooledConnectionPool(final ConnectionPoolDataSource cpds, final DbAuth auth, int min, int max, int start, int inc, int acq_retry_attempts, int acq_retry_delay, boolean break_after_acq_failure, int checkoutTimeout, final int connectionIsValidTimeout, int idleConnectionTestPeriod, int maxIdleTime, int maxIdleTimeExcessConnections, int maxConnectionAge, int propertyCycle, int unreturnedConnectionTimeout, boolean debugUnreturnedConnectionStackTraces, boolean forceSynchronousCheckins, final boolean testConnectionOnCheckout, final boolean testConnectionOnCheckin, boolean attemptResurrectOnCheckin, int maxStatements, int maxStatementsPerConnection, String markSessionBoundaries, final ConnectionTester connectionTester, final ConnectionCustomizer connectionCustomizer, final String testQuery, final ResourcePoolFactory fact, ThreadPoolReportingAsynchronousRunner taskRunner, ThreadPoolReportingAsynchronousRunner deferredStatementDestroyer, final String parentDataSourceIdentityToken)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private Object | |
| public PooledConnection | |
| public void | |
| public void | |
| public String | |
| private synchronized C3P0PooledConnectionPool. | |
| public float | |
| public Throwable | |
| public Throwable | |
| public Throwable | |
| public Throwable | |
| public Throwable | |
| public int | |
| public int | |
| public long | |
| public long | |
| public long | |
| public int | |
| public int | |
| public int | |
| public long | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public long | |
| private void | |
| private void | |
| public void | |
| private Boolean | |
| private Boolean | |
| private boolean | |
| private boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| ASYNCHRONOUS_CONNECTION_EVENT_LISTENER | back to summary |
|---|---|
| private static final boolean ASYNCHRONOUS_CONNECTION_EVENT_LISTENER | |
| c3p0PooledConnections | back to summary |
|---|---|
| pack-priv final boolean c3p0PooledConnections | |
| checkoutTimeout | back to summary |
|---|---|
| pack-priv final int checkoutTimeout | |
| cl | back to summary |
|---|---|
| pack-priv final ConnectionEventListener cl | |
| connectionIsValidTimeout | back to summary |
|---|---|
| pack-priv final int connectionIsValidTimeout | |
| connectionTester | back to summary |
|---|---|
| pack-priv final ConnectionTester connectionTester | |
| deferredStatementDestroyer | back to summary |
|---|---|
| pack-priv final AsynchronousRunner deferredStatementDestroyer | |
| disableSessionBoundaries | back to summary |
|---|---|
| pack-priv final boolean disableSessionBoundaries | |
| INTERFACE_REQUEST_BOUNDARY_MARKER | back to summary |
|---|---|
| private static C3P0PooledConnectionPool. | |
| internalUseLockManager | back to summary |
|---|---|
| pack-priv final C3P0PooledConnectionPool. | |
| logger | back to summary |
|---|---|
| pack-priv static final MLogger logger | |
| NO_OP_REQUEST_BOUNDARY_MARKER | back to summary |
|---|---|
| private static C3P0PooledConnectionPool. | |
| requestBoundaryMarker | back to summary |
|---|---|
| private C3P0PooledConnectionPool. | |
| resurrectables | back to summary |
|---|---|
| pack-priv final C3P0PooledConnectionPool. | |
| rp | back to summary |
|---|---|
| pack-priv final ResourcePool rp | |
| scache | back to summary |
|---|---|
| pack-priv final GooGooStatementCache scache | |
| sharedTaskRunner | back to summary |
|---|---|
| pack-priv final AsynchronousRunner sharedTaskRunner | |
| C3P0PooledConnectionPool | back to summary |
|---|---|
| pack-priv C3P0PooledConnectionPool(final ConnectionPoolDataSource cpds, final DbAuth auth, int min, int max, int start, int inc, int acq_retry_attempts, int acq_retry_delay, boolean break_after_acq_failure, int checkoutTimeout, final int connectionIsValidTimeout, int idleConnectionTestPeriod, int maxIdleTime, int maxIdleTimeExcessConnections, int maxConnectionAge, int propertyCycle, int unreturnedConnectionTimeout, boolean debugUnreturnedConnectionStackTraces, boolean forceSynchronousCheckins, final boolean testConnectionOnCheckout, final boolean testConnectionOnCheckin, boolean attemptResurrectOnCheckin, int maxStatements, int maxStatementsPerConnection, String markSessionBoundaries, final ConnectionTester connectionTester, final ConnectionCustomizer connectionCustomizer, final String testQuery, final ResourcePoolFactory fact, ThreadPoolReportingAsynchronousRunner taskRunner, ThreadPoolReportingAsynchronousRunner deferredStatementDestroyer, final String parentDataSourceIdentityToken) throws SQLException | |
| checkinPooledConnection | back to summary |
|---|---|
| private void checkinPooledConnection(PooledConnection pcon) throws SQLException | |
| checkoutAndScacheMarkConnectionInUse | back to summary |
|---|---|
| private Object checkoutAndScacheMarkConnectionInUse() throws TimeoutException, CannotAcquireResourceException, ResourcePoolException, InterruptedException | |
| checkoutPooledConnection | back to summary |
|---|---|
| public PooledConnection checkoutPooledConnection() throws SQLException | |
| close | back to summary |
|---|---|
| public void close() throws SQLException | |
| close | back to summary |
|---|---|
| public void close(boolean close_outstanding_connections) throws SQLException | |
| dumpStatementCacheStatus | back to summary |
|---|---|
| public String dumpStatementCacheStatus() | |
| findRequestBoundaryMarker | back to summary |
|---|---|
| private synchronized C3P0PooledConnectionPool. | |
| getEffectivePropertyCycle | back to summary |
|---|---|
| public float getEffectivePropertyCycle() throws SQLException | |
| getLastAcquisitionFailure | back to summary |
|---|---|
| public Throwable getLastAcquisitionFailure() throws SQLException | |
| getLastCheckinFailure | back to summary |
|---|---|
| public Throwable getLastCheckinFailure() throws SQLException | |
| getLastCheckoutFailure | back to summary |
|---|---|
| public Throwable getLastCheckoutFailure() throws SQLException | |
| getLastConnectionTestFailure | back to summary |
|---|---|
| public Throwable getLastConnectionTestFailure() throws SQLException | |
| getLastIdleTestFailure | back to summary |
|---|---|
| public Throwable getLastIdleTestFailure() throws SQLException | |
| getNumBusyConnections | back to summary |
|---|---|
| public int getNumBusyConnections() throws SQLException | |
| getNumConnections | back to summary |
|---|---|
| public int getNumConnections() throws SQLException | |
| getNumFailedCheckins | back to summary |
|---|---|
| public long getNumFailedCheckins() throws SQLException | |
| getNumFailedCheckouts | back to summary |
|---|---|
| public long getNumFailedCheckouts() throws SQLException | |
| getNumFailedIdleTests | back to summary |
|---|---|
| public long getNumFailedIdleTests() throws SQLException | |
| getNumIdleConnections | back to summary |
|---|---|
| public int getNumIdleConnections() throws SQLException | |
| getNumThreadsAwaitingCheckout | back to summary |
|---|---|
| public int getNumThreadsAwaitingCheckout() throws SQLException | |
| getNumUnclosedOrphanedConnections | back to summary |
|---|---|
| public int getNumUnclosedOrphanedConnections() throws SQLException | |
| getStartTime | back to summary |
|---|---|
| public long getStartTime() throws SQLException | |
| getStatementCacheNumCheckedOut | back to summary |
|---|---|
| public int getStatementCacheNumCheckedOut() | |
| getStatementCacheNumConnectionsWithCachedStatements | back to summary |
|---|---|
| public int getStatementCacheNumConnectionsWithCachedStatements() | |
| getStatementCacheNumStatements | back to summary |
|---|---|
| public int getStatementCacheNumStatements() | |
| getStatementDestroyerNumConnectionsInUse | back to summary |
|---|---|
| public int getStatementDestroyerNumConnectionsInUse() | |
| getStatementDestroyerNumConnectionsWithDeferredDestroyStatements | back to summary |
|---|---|
| public int getStatementDestroyerNumConnectionsWithDeferredDestroyStatements() | |
| getStatementDestroyerNumDeferredDestroyStatements | back to summary |
|---|---|
| public int getStatementDestroyerNumDeferredDestroyStatements() | |
| getUpTime | back to summary |
|---|---|
| public long getUpTime() throws SQLException | |
| markBeginRequest | back to summary |
|---|---|
| private void markBeginRequest(PooledConnection pc) | |
| markEndRequest | back to summary |
|---|---|
| private void markEndRequest(PooledConnection pc) | |
| reset | back to summary |
|---|---|
| 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). | |
| scachePhysicalConnectionInUse | back to summary |
|---|---|
| private Boolean scachePhysicalConnectionInUse(Connection physicalConnection) throws InterruptedException | |
| scachePooledConnectionInUse | back to summary |
|---|---|
| private Boolean scachePooledConnectionInUse(PooledConnection pc) throws InterruptedException | |
| scacheTryMarkPhysicalConnectionInUse | back to summary |
|---|---|
| private boolean scacheTryMarkPhysicalConnectionInUse(Connection physicalConnection) | |
| scacheTryMarkPooledConnectionInUse | back to summary |
|---|---|
| private boolean scacheTryMarkPooledConnectionInUse(PooledConnection pooledCon) | |
| scacheUnmarkConnectionInUseAndCheckin | back to summary |
|---|---|
| private void scacheUnmarkConnectionInUseAndCheckin(PooledConnection pcon) throws ResourcePoolException | |
| scacheUnmarkPhysicalConnectionInUse | back to summary |
|---|---|
| private void scacheUnmarkPhysicalConnectionInUse(Connection physicalConnection) | |
| scacheUnmarkPooledConnectionInUse | back to summary |
|---|---|
| private void scacheUnmarkPooledConnectionInUse(PooledConnection pooledCon) | |
| scacheWaitMarkPhysicalConnectionInUse | back to summary |
|---|---|
| private void scacheWaitMarkPhysicalConnectionInUse(Connection physicalConnection) throws InterruptedException | |
| scacheWaitMarkPooledConnectionInUse | back to summary |
|---|---|
| private void scacheWaitMarkPooledConnectionInUse(PooledConnection pooledCon) throws InterruptedException | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract ReentrantLock | |
| public void | |
| public void |
| AbstractInternalUseLockManager | back to summary |
|---|---|
| private AbstractInternalUseLockManager() | |
| getInternalUseLock | back to summary |
|---|---|
| pack-priv abstract ReentrantLock getInternalUseLock(Object resc) | |
| lockInternalUse | back to summary |
|---|---|
| public void lockInternalUse(Object resc) | |
| unlockInternalUse | back to summary |
|---|---|
| public void unlockInternalUse(Object resc) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ReentrantLock |
| C3P0PooledConnectionNestedLockInternalUseLockManager | back to summary |
|---|---|
| private C3P0PooledConnectionNestedLockInternalUseLockManager() | |
| getInternalUseLock | back to summary |
|---|---|
| pack-priv ReentrantLock getInternalUseLock(Object resc) Implements abstract com. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | connectionClosed(final ConnectionEvent
an event object describing the source of
the event evt)Implements javax. Notifies this |
| public void | connectionErrorOccurred(final ConnectionEvent
an event object describing the source of
the event and containing the evt)SQLException that the
driver is about to throwImplements javax. Notifies this |
| private void | |
| private void |
| ConnectionEventListenerImpl | back to summary |
|---|---|
| pack-priv ConnectionEventListenerImpl() | |
| connectionClosed | back to summary |
|---|---|
| public void connectionClosed(final ConnectionEvent evt) Implements javax. Doc from javax. Notifies this
| |
| connectionErrorOccurred | back to summary |
|---|---|
| public void connectionErrorOccurred(final ConnectionEvent evt) Implements javax. Doc from javax. Notifies this
| |
| doCheckinResource | back to summary |
|---|---|
| private void doCheckinResource(ConnectionEvent evt) | |
| doMarkPoolStatus | back to summary |
|---|---|
| private void doMarkPoolStatus(PooledConnection pc, int status) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| beginRequest | back to summary |
|---|---|
| pack-priv Method beginRequest | |
| endRequest | back to summary |
|---|---|
| pack-priv Method endRequest | |
| ReflectiveRequestBoundaryMarker | back to summary |
|---|---|
| pack-priv ReflectiveRequestBoundaryMarker(Method beginRequest, Method endRequest) | |
| attemptNotifyBeginRequest | back to summary |
|---|---|
| public void attemptNotifyBeginRequest(PooledConnection pc) Implements com. | |
| attemptNotifyEndRequest | back to summary |
|---|---|
| public void attemptNotifyEndRequest(PooledConnection pc) Implements com. | |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| attemptNotifyBeginRequest | back to summary |
|---|---|
| public void attemptNotifyBeginRequest(PooledConnection pc) | |
| attemptNotifyEndRequest | back to summary |
|---|---|
| public void attemptNotifyEndRequest(PooledConnection pc) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv WeakHashMap |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | |
| public synchronized void |
| candidates | back to summary |
|---|---|
| pack-priv WeakHashMap<K, V> candidates | |
| Resurrectables | back to summary |
|---|---|
| private Resurrectables() | |
| checkResurrectable | back to summary |
|---|---|
| public synchronized boolean checkResurrectable(Object resc) | |
| markResurrectable | back to summary |
|---|---|
| public synchronized void markResurrectable(Object resc) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv WeakHashMap |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized ReentrantLock | |
| public synchronized void | |
| public synchronized void |
| inUseLocks | back to summary |
|---|---|
| pack-priv WeakHashMap<K, V> inUseLocks | |
| WeakHashMapInternalUseLockManager | back to summary |
|---|---|
| private WeakHashMapInternalUseLockManager() | |
| getInternalUseLock | back to summary |
|---|---|
| pack-priv synchronized ReentrantLock getInternalUseLock(Object resc) Implements abstract com. | |
| lockInternalUse | back to summary |
|---|---|
| public synchronized void lockInternalUse(Object resc) Overrides com. | |
| unlockInternalUse | back to summary |
|---|---|
| public synchronized void unlockInternalUse(Object resc) Overrides com. | |