Uses of Class
org.apache.tomcat.jdbc.pool.ConnectionPool
Packages that use ConnectionPool
Package
Description
-
Uses of ConnectionPool in org.apache.tomcat.jdbc.pool
Fields in org.apache.tomcat.jdbc.pool declared as ConnectionPoolModifier and TypeFieldDescriptionprotected ConnectionPoolPooledConnection.parentThe parentprotected ConnectionPoolDataSourceProxy.poolThe underlying connection pool.protected ConnectionPoolProxyConnection.poolThe parent connection pool.Fields in org.apache.tomcat.jdbc.pool with type parameters of type ConnectionPoolModifier and TypeFieldDescriptionprotected WeakReference<ConnectionPool> ConnectionPool.PoolCleaner.poolWeak reference to the connection pool being monitored.Methods in org.apache.tomcat.jdbc.pool that return ConnectionPoolModifier and TypeMethodDescriptionDataSourceProxy.createPool()Sets up the connection pool, by creating a pooling driver.ProxyConnection.getParentPool()Returns the parent connection pool.DataSourceProxy.getPool()Return the underlying connection pool, creating it if necessary.ProxyConnection.getPool()Returns the parent connection pool.Methods in org.apache.tomcat.jdbc.pool with parameters of type ConnectionPoolModifier and TypeMethodDescriptionvoidJdbcInterceptor.disconnected(ConnectionPool parent, PooledConnection con, boolean finalizing) Called whenConnection.close()is called on the underlying connection.voidJdbcInterceptor.poolClosed(ConnectionPool pool) This method is invoked by a connection pool when the pool is closed.voidJdbcInterceptor.poolStarted(ConnectionPool pool) This method is invoked by a connection pool when the pool is first started up, usually when the first connection is requested.voidDisposableConnectionFacade.reset(ConnectionPool parent, PooledConnection con) abstract voidJdbcInterceptor.reset(ConnectionPool parent, PooledConnection con) Gets called each time the connection is borrowed from the pool This means that if an interceptor holds a reference to the connection the interceptor can be reused for another connection.voidProxyConnection.reset(ConnectionPool parent, PooledConnection con) voidTrapException.reset(ConnectionPool parent, PooledConnection con) no-op for this interceptor. no state is stored.voidProxyConnection.setPool(ConnectionPool pool) Sets the parent connection pool.Constructors in org.apache.tomcat.jdbc.pool with parameters of type ConnectionPoolModifierConstructorDescriptionPooledConnection(PoolConfiguration prop, ConnectionPool parent) ConstructorprotectedProxyConnection(ConnectionPool parent, PooledConnection con, boolean useEquals) Creates a new ProxyConnection wrapping the given pooled connection. -
Uses of ConnectionPool in org.apache.tomcat.jdbc.pool.interceptor
Fields in org.apache.tomcat.jdbc.pool.interceptor declared as ConnectionPoolModifier and TypeFieldDescriptionprotected ConnectionPoolSlowQueryReportJmx.poolThe connection pool reference.Methods in org.apache.tomcat.jdbc.pool.interceptor with parameters of type ConnectionPoolModifier and TypeMethodDescriptionprotected voidSlowQueryReport.PoolStatistics.addLivePool(ConnectionPool pool) Registers a pool that started under this name.voidConnectionState.disconnected(ConnectionPool parent, PooledConnection con, boolean finalizing) voidQueryTimeoutInterceptor.disconnected(ConnectionPool parent, PooledConnection con, boolean finalizing) Forgets the reported refusal, as the physical connection this interceptor is attached to is gone: the session that replaces it gets its own refusal recorded and its own warning, the way it gets its own driver to answer the call.voidStatementCache.disconnected(ConnectionPool parent, PooledConnection con, boolean finalizing) protected booleanSlowQueryReport.PoolStatistics.hasLivePool(ConnectionPool pool) Returns whether the given pool is one of the live pools registered under this name.voidSlowQueryReport.poolClosed(ConnectionPool pool) Releases the query statistics map for the given connection pool, unless another live pool is still registered under its name.voidSlowQueryReportJmx.poolClosed(ConnectionPool pool) Called when the connection pool is closed; releases the JMX registration of the pool's name - the MBean and the broadcaster its clients' listeners are attached to - only once that pool was the last live pool registered under the name.voidStatementCache.poolClosed(ConnectionPool pool) voidSlowQueryReport.poolStarted(ConnectionPool pool) Initializes the query statistics map for the given connection pool.voidSlowQueryReportJmx.poolStarted(ConnectionPool pool) Called when the connection pool is started.voidStatementCache.poolStarted(ConnectionPool pool) protected voidSlowQueryReportJmx.releaseJmxRegistration(ConnectionPool releasedPool) Completes the release of the current pool name whose statistics the given pool has just freed: drops the MBean registration with the name's broadcaster and registration-failure marker throughSlowQueryReportJmx.deregisterJmx()- unless a live pool is registered under the name again that does not include the releasing one.protected static booleanSlowQueryReport.releaseStatistics(ConnectionPool pool) Deregisters a closed pool from the live pools that the per-name statistics are held for, and releases the statistics once no live pool is registered under the name any more.protected booleanSlowQueryReport.PoolStatistics.removeLivePool(ConnectionPool pool) Deregisters a pool that closed.voidAbstractCreateStatementInterceptor.reset(ConnectionPool parent, PooledConnection con) no-op for this interceptor. no state is stored.voidConnectionState.reset(ConnectionPool parent, PooledConnection con) Restores the connection state the pool was configured to enforce.voidResetAbandonedTimer.reset(ConnectionPool parent, PooledConnection con) voidSlowQueryReport.reset(ConnectionPool parent, PooledConnection con) Resets the query statistics reference when a connection is reset.voidSlowQueryReportJmx.reset(ConnectionPool parent, PooledConnection con) Resets this interceptor for a new connection, registering JMX if applicable.voidStatementCache.reset(ConnectionPool parent, PooledConnection con) voidStatementFinalizer.reset(ConnectionPool parent, PooledConnection con) -
Uses of ConnectionPool in org.apache.tomcat.jdbc.pool.jmx
Fields in org.apache.tomcat.jdbc.pool.jmx declared as ConnectionPoolModifier and TypeFieldDescriptionprotected ConnectionPoolConnectionPool.poolthe connection poolMethods in org.apache.tomcat.jdbc.pool.jmx that return ConnectionPoolModifier and TypeMethodDescriptionConnectionPool.getPool()Returns the underlying connection pool instance.Constructors in org.apache.tomcat.jdbc.pool.jmx with parameters of type ConnectionPoolModifierConstructorDescriptionConnectionPool(ConnectionPool pool) Creates a new JMX wrapper for the given connection pool.