Index

A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abandon(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
thread safe way to abandon a connection signals a connection to be abandoned. this will disconnect the connection, and log the stack trace if logAbandoned=true
abandoned - Variable in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
Whether a FairBlockingQueue.ItemFuture.get(long, TimeUnit) call on this future timed out.
ABORT_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
AbstractCreateStatementInterceptor - Class in org.apache.tomcat.jdbc.pool.interceptor
Abstraction interceptor.
AbstractCreateStatementInterceptor() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Default constructor
AbstractQueryReport - Class in org.apache.tomcat.jdbc.pool.interceptor
Abstract class that wraps statements and intercepts query executions.
AbstractQueryReport() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Constructs a new AbstractQueryReport with the default threshold.
AbstractQueryReport.StatementProxy - Class in org.apache.tomcat.jdbc.pool.interceptor
Class to measure query execute time
add(long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Records a successful query invocation, updating min/max/total timing statistics.
add(E) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
addAll(Collection) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
addListener(NotificationListener) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Adds a local notification listener that receives pool notifications without requiring JMX registration.
addLivePool(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.PoolStatistics
Registers a pool that started under this name.
addNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Adds a notification listener.
addProperty(String, String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Adds a property with the given name and value.
addProperty(PoolProperties.InterceptorProperty) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Adds the given interceptor property.
ALL_PROPERTIES - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Array of all supported property names.
ALL_TYPES - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
All statement types (prepared and callable).
autoCommit - Variable in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Cached auto-commit state of the connection.

B

borrowConnection(long, PooledConnection, String, String) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Validates and configures a previously idle connection

C

CachedStatement(PreparedStatement, String) - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementCache.CachedStatement
Constructs a CachedStatement, recording the physical connection the statement was prepared on as the answer of the statement itself (or, when that answer is not a physical connection the cache can read, of the pool's own record of the session the prepare ran on).
cacheStatement(StatementCache.CachedStatement) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Caches the given statement proxy if there is room in the cache.
CALLABLE_TYPE - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Callable statement type only.
cancel(boolean) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
cancel(boolean) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
 
canceled - Variable in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
Whether this future has been cancelled.
cancelWaiters() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
Cancel the futures of all the asynchronous polls that are waiting for an item on this queue.
capitalize(String) - Static method in class org.apache.tomcat.jdbc.naming.GenericNamingResourcesFactory
Capitalizes the first character of the given string.
catalog - Variable in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Cached catalog (database) name of the connection.
checkAbandoned() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Iterates through all the busy connections and checks for connections that have timed out
checkAbandoned() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Forces an abandon check on the connection pool.
checkAbandoned() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
checkAbandoned() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Checks for and removes abandoned connections from the pool.
checkIdle() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Iterates through the idle connections and resizes the idle pool based on parameters PoolProperties.maxIdle, PoolProperties.minIdle, PoolProperties.minEvictableIdleTimeMillis
checkIdle() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Forces a check for resizing of the idle connections
checkIdle() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
checkIdle() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Checks and cleans up idle connections in the pool.
checkIdle(boolean) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Iterates through the idle connections and resizes the idle pool based on pool configuration parameters.
checkPoolConfiguration(PoolConfiguration) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Validates and corrects pool configuration values.
checkUser(String, String) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Deprecated.
use PooledConnection.shouldForceReconnect(String, String) method kept since it was public, to avoid changing interface.
ClassLoaderUtil - Class in org.apache.tomcat.jdbc.pool
Utility class for loading classes using multiple class loaders.
className - Variable in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Interceptor class name.
clazz - Variable in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Cached interceptor class.
clear() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
clearWarnings() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Clears the warnings on the physical connection.
clearWarnings() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Clears any warnings reported on this connection.
clone() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
clone(Properties) - Static method in class org.apache.tomcat.jdbc.pool.PoolUtilities
Creates a shallow copy of the given properties.
cloneWithoutPassword(Properties) - Static method in class org.apache.tomcat.jdbc.pool.PoolUtilities
Creates a copy of the given properties with the password entry removed.
close() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Close the connection pool, returning connections to the database.
close() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer.StatementEntry
Closes the tracked statement, reporting failure the same way the connection return does.
close(boolean) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Closes the pool and all disconnects all idle connections Active connections will be closed upon the close method is called on the underlying connection instead of being returned to the pool
close(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSource
Unregisters the connection pool MBean before closing the pool, so a dead pool does not keep reporting stale statistics under a live object name (and does not pin the closed pool, its credentials and its JDBC driver class loader in the MBean server).
Close the connection pool.
close(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Close the connection pool.
CLOSE_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Connection.close() method name
CloseAwareProxy(StatementFinalizer.StatementEntry) - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer.CloseAwareProxy
Creates a handler for the given tracked statement.
closed - Variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
Indicates whether the proxy has been closed.
closed - Variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Indicates whether this statement has been closed.
closed - Variable in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
Indicates whether this statement has been closed.
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Method invoked when the operation Connection.close() is invoked.
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.QueryTimeoutInterceptor
No-op; the refusal record belongs to the physical connection, not to the borrow, so ending a borrow has nothing here to clean up.
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
invoked when the connection receives the close request Not used for now.
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache.CachedStatement
 
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
 
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Called when the close method is invoked on the statement.
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
 
closeInvoked() - Method in class org.apache.tomcat.jdbc.pool.StatementFacade
Marks the borrow as ended, which closes every statement and result set handle this facade handed out.
closeStatement(StatementCache.CachedStatement) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Closes the given cached statement by forcing it to close.
compare(String, Method) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Compares a method name (String) to a method (Method) JdbcInterceptor.compare(String,String) Uses reference comparison unless the useEquals property is set to true
compare(String, String) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Performs a string comparison, using references unless the useEquals property is set to true.
compare(SlowQueryReport.QueryStats, SlowQueryReport.QueryStats) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStatsComparator
 
connect() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Connects the underlying connection to the database.
connection - Variable in class org.apache.tomcat.jdbc.pool.ProxyConnection
The underlying pooled connection.
connection - Variable in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
The pooled connection the statement was created from, as reported by Statement.getConnection().
ConnectionFuture(Future) - Constructor for class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
Creates a ConnectionFuture backed by an async pooled connection future.
ConnectionFuture(PooledConnection) - Constructor for class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
Creates a ConnectionFuture backed by an already available pooled connection.
ConnectionPool - Class in org.apache.tomcat.jdbc.pool
Implementation of simple connection pool.
ConnectionPool - Class in org.apache.tomcat.jdbc.pool.jmx
JMX MBean wrapper for a ConnectionPool.
ConnectionPool(ConnectionPool) - Constructor for class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Creates a new JMX wrapper for the given connection pool.
ConnectionPool(PoolConfiguration) - Constructor for class org.apache.tomcat.jdbc.pool.ConnectionPool
Instantiate a connection pool.
ConnectionPool.ConnectionFuture - Class in org.apache.tomcat.jdbc.pool
Thread safe wrapper around a future for the regular queue This one retrieves the pooled connection object and performs the initialization according to interceptors and validation rules.
ConnectionPool.PoolCleaner - Class in org.apache.tomcat.jdbc.pool
A scheduled task that periodically checks for abandoned connections, validates idle connections, and resizes the idle pool according to the pool's configuration.
ConnectionPoolMBean - Interface in org.apache.tomcat.jdbc.pool.jmx
JMX MBean interface for monitoring and managing a JDBC connection pool.
ConnectionState - Class in org.apache.tomcat.jdbc.pool.interceptor
Interceptor that keep track of connection state to avoid roundtrips to the database.
ConnectionState() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Creates a new ConnectionState interceptor instance.
connectUsingDataSource() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Connects using the configured DataSource.
connectUsingDriver() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Connects using the configured JDBC Driver class.
constructors - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
the constructors that are used to create statement proxies.
contains(Object) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
containsAll(Collection) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
create(boolean) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Create a new pooled connection object.
CREATE_STATEMENT - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
CREATE_STATEMENT_IDX - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
createCacheKey(Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Creates a cache key from the given method and arguments.
createCacheKey(String, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Creates a cache key from the given method name and arguments.
createConnection(long, PooledConnection, String, String) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Creates a JDBC connection and tries to connect to the database.
createDataSource(Properties) - Method in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Creates and configures a DataSource instance based on the given properties.
createDataSource(Properties, Context, boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Creates and configures a DataSource instance based on the given properties.
createDataSource(Properties, Context, boolean, DataSource) - Method in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Creates and configures a DataSource instance based on the given properties, with an optional live data source for the pool to wrap.
createDecorator(Object, Method, Object[], Object, Constructor, String) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
createDecorator(Object, Method, Object[], Object, Constructor, String) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Creates a proxy for a Statement.
createMBean() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Create MBean object that can be registered.
createMBean() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Creates and registers an MBean for this pooled connection with JMX.
createObjectName(ObjectName) - Method in class org.apache.tomcat.jdbc.pool.DataSource
Creates the ObjectName for the ConnectionPoolMBean object to be registered
createPool() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Sets up the connection pool, by creating a pooling driver.
createStatement(Object, Method, Object[], Object, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
This method will be invoked after a successful statement creation.
createStatement(Object, Method, Object[], Object, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Creates a statement interceptor to monitor query response times
createStatement(Object, Method, Object[], Object, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.QueryTimeoutInterceptor
Sets the query timeout on the created statement if it is a Statement and the timeout value is positive.
createStatement(Object, Method, Object[], Object, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
Wraps the query reporting statement proxy so that the result sets handed to the application reset the abandoned timer while they are read.
createStatement(Object, Method, Object[], Object, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Creates a statement interceptor to monitor query response times
createStatement(Object, Method, Object[], Object, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
 
createStatement(Object, Method, Object[], Object, long) - Method in class org.apache.tomcat.jdbc.pool.StatementFacade
Creates a statement interceptor to monitor query response times

D

DataSource - Class in org.apache.tomcat.jdbc.pool
A DataSource that can be instantiated through IoC and implements the DataSource interface since the DataSourceProxy is used as a generic proxy.
DataSource() - Constructor for class org.apache.tomcat.jdbc.pool.DataSource
Constructor for reflection only.
DataSource(PoolConfiguration) - Constructor for class org.apache.tomcat.jdbc.pool.DataSource
Constructs a DataSource object wrapping a connection
DataSourceFactory - Class in org.apache.tomcat.jdbc.pool
JNDI object factory that creates an instance of BasicDataSource that has been configured based on the RefAddr values of the specified Reference, which must match the names and data types of the BasicDataSource bean properties.
DataSourceFactory() - Constructor for class org.apache.tomcat.jdbc.pool.DataSourceFactory
Default constructor.
DataSourceProxy - Class in org.apache.tomcat.jdbc.pool
The DataSource proxy lets us implements methods that don't exist in the current compiler JDK but might be methods that are part of a future JDK DataSource interface.
DataSourceProxy() - Constructor for class org.apache.tomcat.jdbc.pool.DataSourceProxy
Construct a DataSourceProxy with default pool properties.
DataSourceProxy(PoolConfiguration) - Constructor for class org.apache.tomcat.jdbc.pool.DataSourceProxy
Construct a DataSourceProxy with the given pool configuration.
DEFAULT_MAX_ACTIVE - Static variable in class org.apache.tomcat.jdbc.pool.PoolProperties
Default maximum number of active connections.
delegate - Variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
The underlying statement or connection being proxied, nulled once a close has been forwarded.
delegate - Variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
The delegated statement, nulled once a close has been forwarded.
delegate - Variable in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
The delegated statement, nulled once a close has been forwarded.
deregisterJmx() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Releases the MBean registration and the shared broadcaster held for the current pool name - even when the pool name is still owned by live pools.
disconnected(ConnectionPool, PooledConnection, boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
 
disconnected(ConnectionPool, PooledConnection, boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.QueryTimeoutInterceptor
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.
disconnected(ConnectionPool, PooledConnection, boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
disconnected(ConnectionPool, PooledConnection, boolean) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Called when Connection.close() is called on the underlying connection.
disconnectEvent(PooledConnection, boolean) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Hook to perform final actions on a pooled connection object once it has been disconnected and will be discarded
DisposableConnectionFacade - Class in org.apache.tomcat.jdbc.pool
A DisposableConnectionFacade object is the top most interceptor that wraps an object of type PooledConnection.
DisposableConnectionFacade(JdbcInterceptor) - Constructor for class org.apache.tomcat.jdbc.pool.DisposableConnectionFacade
Construct a DisposableConnectionFacade that wraps the given interceptor.
drainTo(Collection) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
drainTo(Collection, int) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue

E

element() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.DisposableConnectionFacade
 
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
 
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
 
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.ResultSetProxy
 
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
 
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
 
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.ResultSetProxy
 
equals(Object) - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
 
EQUALS_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
ExchangeCountDownLatch(int) - Constructor for class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch
Creates a new ExchangeCountDownLatch with the given count.
EXECUTE - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
EXECUTE_BATCH - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
EXECUTE_LARGE_BATCH - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
EXECUTE_LARGE_UPDATE - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
EXECUTE_QUERY - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
EXECUTE_QUERY - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Method name for executeQuery.
EXECUTE_TYPES - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Array of execute type method names
EXECUTE_UPDATE - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor

F

FAILED_QUERY_NOTIFICATION - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Notification type for failed query events.
FAILED_QUERY_NOTIFICATION - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when the SlowQueryReportJmx interceptor reports a query that failed.
failure(long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Records a failed query invocation, updating timing statistics and failure count.
FairBlockingQueue<E> - Class in org.apache.tomcat.jdbc.pool
A simple implementation of a blocking queue with fairness waiting. invocations to method poll(...) will get handed out in the order they were received.
FairBlockingQueue() - Constructor for class org.apache.tomcat.jdbc.pool.FairBlockingQueue
Creates a new fair blocking queue.
FairBlockingQueue.ExchangeCountDownLatch<T> - Class in org.apache.tomcat.jdbc.pool
A count down latch that can be used to exchange information.
FairBlockingQueue.FairIterator - Class in org.apache.tomcat.jdbc.pool
Iterator safe from concurrent modification exceptions.
FairBlockingQueue.ItemFuture<T> - Class in org.apache.tomcat.jdbc.pool
A future used to check if a connection has been made available.
FairIterator() - Constructor for class org.apache.tomcat.jdbc.pool.FairBlockingQueue.FairIterator
Creates a new FairIterator with a snapshot of the current queue contents.
finalize(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Hook to perform final actions on a pooled connection object once it has been disconnected and will be discarded
forceClose() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache.CachedStatement
Forces immediate closure of this cached statement.
future - Variable in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch
The future the item is exchanged with, set by FairBlockingQueue.pollAsync() and null for the waiters of FairBlockingQueue.poll(long, TimeUnit).

G

GenericNamingResourcesFactory - Class in org.apache.tomcat.jdbc.naming
Simple way of configuring generic resources by using reflection.
GenericNamingResourcesFactory() - Constructor for class org.apache.tomcat.jdbc.naming.GenericNamingResourcesFactory
Creates a new GenericNamingResourcesFactory instance.
get() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
get() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
 
get(long, TimeUnit) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
get(long, TimeUnit) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
 
get(String) - Static method in class org.apache.tomcat.jdbc.pool.util.MessageFactory
Get a localized message.
get(String, Object...) - Static method in class org.apache.tomcat.jdbc.pool.util.MessageFactory
Get a localized message with arguments.
GET_GENERATED_KEYS - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
GET_GENERATED_KEYS - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Method name for getGeneratedKeys.
GET_RESULTSET - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
GET_RESULTSET - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Method name for getResultSet.
GET_STATEMENT - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
getAbandonTimeout() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns abandon timeout in milliseconds
getAbandonWhenPercentageFull() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getAbandonWhenPercentageFull() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getAbandonWhenPercentageFull() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Connections that have been abandoned (timed out) wont get closed and reported up unless the number of connections in use are above the percentage defined by abandonWhenPercentageFull.
getAbandonWhenPercentageFull() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getActive() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns the number of connections that are in use
getActive() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Returns the number of connections currently in use by the application.
getActive() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getActive() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the number of active (in-use) connections.
getActualProxy() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Returns the actual proxy object.
getAllocationStack() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer.StatementEntry
Returns the stack trace from when this statement was created.
getAssociatedConnection() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache.CachedStatement
Returns the physical connection this statement was prepared on.
getAttributes() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the attributes map for this connection.
getAutoCommit() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
getAutoCommit() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the current auto-commit mode.
getBorrowedCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
The total number of connections borrowed from this pool.
getBorrowedCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The total number of connections borrowed from this pool.
getBorrowedCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getBorrowedCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of connections borrowed since pool creation.
getCache() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Returns the statement cache for the current pooled connection.
getCacheKey() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache.CachedStatement
Returns the cache key for this statement.
getCacheSize() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
getCacheSize() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.StatementCacheMBean
Returns the number of statements currently held in the statement cache, counted across all connections that belong to the same connection pool - the value the max limit is compared against.
getCacheSizePerConnection() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
getCacheSizePerConnection() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.StatementCacheMBean
Returns the cache size for the current connection.
getCatalog() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
getCatalog() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the current catalog name.
getClassName() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Returns the interceptor class name.
getCommitOnReturn() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getCommitOnReturn() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getCommitOnReturn() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns whether the pool commits any pending transaction when a connection is returned.
getCommitOnReturn() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getCompositeData(CompositeType) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the query statistics as JMX CompositeData.
getCompositeType() - Static method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Returns the composite type used for JMX query statistics.
getConnection() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Borrows a connection from the pool.
getConnection() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Get a database connection.
getConnection() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Returns the connection proxy most recently bound through StatementDecoratorInterceptor.StatementProxy.setConnection(Object).
getConnection() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the underlying connection
getConnection() - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Returns the underlying pooled connection.
getConnection(String, String) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Borrows a connection from the pool.
getConnection(String, String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Get a database connection.
GETCONNECTION_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
getConnectionAsync() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Retrieves a Connection future.
getConnectionAsync() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Invokes an sync operation to retrieve the connection.
getConnectionProperties() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getConnectionProperties() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getConnectionProperties() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The connection properties that will be sent to the JDBC driver when establishing new connections.
getConnectionProperties() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getConnectionVersion() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
getConnectionVersion() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the connection version.
getConstructor() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Returns the constructor used to create this proxy.
getConstructor(int, Class) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Creates a constructor for a proxy class, if one doesn't already exist.
getCreatedCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
The total number of connections created by this pool.
getCreatedCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The total number of connections created by this pool.
getCreatedCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getCreatedCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of connections created since pool creation.
getDataSource() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getDataSource() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDataSource() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns a datasource, if one exists that is being used to create connections.
getDataSource() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getDataSourceJNDI() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getDataSourceJNDI() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDataSourceJNDI() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the JNDI string configured for data source usage.
getDataSourceJNDI() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getDbProperties() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Returns a copy of the database properties with the password removed.
getDbProperties() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDbProperties() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the database properties that are passed into the Driver.connect(String, Properties) method.
getDbProperties() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getDefaultAutoCommit() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getDefaultAutoCommit() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDefaultAutoCommit() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The default auto-commit state of connections created by this pool.
getDefaultAutoCommit() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getDefaultCatalog() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getDefaultCatalog() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDefaultCatalog() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If non null, during connection creation the method Connection.setCatalog(String) will be called with the set value.
getDefaultCatalog() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getDefaultNotificationInfo() - Static method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Returns the default notification info describing all notification types that this MBean can send.
getDefaultReadOnly() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getDefaultReadOnly() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDefaultReadOnly() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If non null, during connection creation the method Connection.setReadOnly(boolean) will be called with the set value.
getDefaultReadOnly() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getDefaultTransactionIsolation() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getDefaultTransactionIsolation() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDefaultTransactionIsolation() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the default transaction isolation level.
getDefaultTransactionIsolation() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getDelegate() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Returns the delegated statement.
getDelegateConnection() - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Returns the delegate pooled connection.
getDriverClassName() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getDriverClassName() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getDriverClassName() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The fully qualified Java class name of the JDBC driver to be used.
getDriverClassName() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getFieldDescriptions() - Static method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the descriptions of the fields in the composite data representation.
getFieldNames() - Static method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the names of the fields in the composite data representation.
getFieldTypes() - Static method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the JMX OpenType of each field in the composite data representation.
getFuture() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch
Returns the future the exchanged item is meant for.
getHandler() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the first handler in the interceptor chain
getHoldability() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
getHoldability() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the current holdability for ResultSet objects.
getIdle() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns the number of idle connections
getIdle() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
If the pool has not been created, it will be created during this call.
getIdle() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getIdle() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the number of idle connections in the pool.
getInitialSize() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getInitialSize() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getInitialSize() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the number of connections that will be established when the connection pool is started.
getInitialSize() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getInitSQL() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getInitSQL() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getInitSQL() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
A custom query to be run when a connection is first created.
getInitSQL() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getInterceptorClass() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Returns the interceptor class, loading it if necessary.
getInternal(String) - Method in class org.apache.tomcat.jdbc.pool.util.MessageFactory
Get a message from the bundle.
getInternal(String, Object...) - Method in class org.apache.tomcat.jdbc.pool.util.MessageFactory
Get a message from the bundle with arguments.
getItem() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch
Returns the exchanged item.
getJdbcInterceptors() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getJdbcInterceptors() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getJdbcInterceptors() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
A semicolon separated list of classnames extending JdbcInterceptor class.
getJdbcInterceptors() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getJdbcInterceptorsAsArray() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getJdbcInterceptorsAsArray() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getJdbcInterceptorsAsArray() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the PoolConfiguration.getJdbcInterceptors() as an array of objects with properties and the classes.
getJdbcInterceptorsAsArray() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Returns the PoolConfiguration.getJdbcInterceptors() as an array of objects with properties and the classes.
getJmxPool() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Return the object that is potentially registered in JMX for notifications
getLastConnected() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the timestamp of when the connection was last connected to the database. ie, a successful call to Driver.connect(String, java.util.Properties).
getLastConnected() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the timestamp of the last successful connection.
getLastValidated() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the timestamp of the last successful validation query execution.
getLastValidated() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the timestamp of the last successful validation.
getLoginTimeout() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
getLogValidationErrors() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getLogValidationErrors() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getLogValidationErrors() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns true if errors that happen during validation will be logged
getLogValidationErrors() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getLogWriter() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
getMaxActive() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getMaxActive() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getMaxActive() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The maximum number of active connections that can be allocated from this pool at the same time.
getMaxActive() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getMaxAge() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getMaxAge() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getMaxAge() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Time in milliseconds to keep this connection before reconnecting.
getMaxAge() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getMaxCacheSize() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
getMaxCacheSize() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.StatementCacheMBean
Returns the maximum size of the statement cache.
getMaxIdle() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getMaxIdle() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getMaxIdle() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The maximum number of connections that should be kept in the idle pool if PoolConfiguration.isPoolSweeperEnabled() returns false.
getMaxIdle() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getMaxInvocationDate() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the timestamp when the longest query execution occurred.
getMaxInvocationTime() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the longest time this query took to execute.
getMaxWait() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getMaxWait() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getMaxWait() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The maximum number of milliseconds that the pool will wait (when there are no available connections and the PoolConfiguration.getMaxActive() has been reached) for a connection to be returned before throwing an exception.
getMaxWait() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getMinEvictableIdleTimeMillis() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getMinEvictableIdleTimeMillis() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getMinEvictableIdleTimeMillis() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The minimum amount of time an object must sit idle in the pool before it is eligible for eviction.
getMinEvictableIdleTimeMillis() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getMinIdle() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getMinIdle() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getMinIdle() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The minimum number of established connections that should be kept in the pool at all times.
getMinIdle() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getMinInvocationDate() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the timestamp when the shortest query execution occurred.
getMinInvocationTime() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the shortest time this query took to execute.
getName() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns the name of this pool
getName() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getName() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getName() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the name of the connection pool.
getName() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getName() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property name.
getNext() - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Returns the next interceptor in the chain
getNotificationInfo() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Returns information about the notifications this MBean can send.
getNotificationInfo() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getNotificationSource() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Returns the source this MBean's notifications are sent with.
getNotificationSource() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Returns the source the pool's notifications are sent with.
getNotifier() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Returns the notification broadcaster that all interceptor instances of the current pool share, so that notifications raised on any connection reach the listeners registered with the pool's MBean.
getNrOfInvocations() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the total number of times this query has been invoked.
getNumActive() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Returns the number of connections currently in use by the application.
getNumActive() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getNumActive() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the number of active (in-use) connections.
getNumIdle() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
getNumIdle() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getNumIdle() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the number of idle connections in the pool.
getNumTestsPerEvictionRun() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getNumTestsPerEvictionRun() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getNumTestsPerEvictionRun() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Property not used
getNumTestsPerEvictionRun() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.apache.tomcat.jdbc.naming.GenericNamingResourcesFactory
 
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Create and return a new BasicDataSource instance.
getObjectName() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Returns the JMX ObjectName under which this MBean is registered.
getObjectName() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the JMX ObjectName for this pooled connection.
getObjectName(Class, String) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Returns the JMX ObjectName for the given class and pool name.
getParentLogger() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
getParentPool() - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Returns the parent connection pool.
getPassword() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getPassword() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getPassword() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the password used when establishing connections to the database.
getPassword() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getPool() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Return the underlying connection pool, creating it if necessary.
getPool() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Returns the underlying connection pool instance.
getPool() - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Returns the parent connection pool.
getPoolCleaners() - Static method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns an unmodifiable set of all registered pool cleaner tasks.
getPoolCounter() - Static method in class org.apache.tomcat.jdbc.pool.PoolProperties
Returns the current pool counter value.
getPooledConnection() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Get a database connection.
getPooledConnection(String, String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Get a database connection.
getPoolName() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getPoolName() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
JMX operation - return the name of the pool
getPoolName() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmxMBean
Returns the name of the connection pool this MBean reports for, as the PoolName attribute.
getPoolName() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getPoolName() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the name of the connection pool.
getPoolName() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getPoolNames() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
JMX operation - return the names of all the pools
getPoolNames() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmxMBean
Returns the names of all the connection pools this JVM currently holds recorded query statistics for, as the PoolNames attribute.
getPoolProperties() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns the pool properties associated with this connection pool
getPoolProperties() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Return the pool configuration properties.
getPoolProperties() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Returns the pool configuration for the wrapped connection pool.
getPoolProperties() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the configuration for this connection and pool
getPoolSize() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Return the current number of connections in the pool.
getPoolStats(String) - Static method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Returns the query stats for a given pool
getPoolTimer() - Static method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns the shared timer used for scheduling pool cleaner tasks.
getPoolVersion() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns the current pool version counter.
getPropagateInterruptState() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getPropagateInterruptState() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getPropagateInterruptState() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns true if the pool is configured to propagate interrupt state of a thread.
getPropagateInterruptState() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getProperties() - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Returns the properties configured for this interceptor
getProperties() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Returns the map of interceptor properties.
getProperties(String) - Static method in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Parse properties from the string.
getProperties(String, Properties) - Static method in class org.apache.tomcat.jdbc.pool.PoolProperties
Parses a property string into a Properties object.
getProxyConstructor(boolean) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Creates and caches a Constructor used to instantiate the proxy object of the requested kind (with or without the XAConnection interface).
getQuery() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the SQL query string for these statistics.
getQueryStats() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.PoolStatistics
Returns the statistics map published under this name.
getQueryStats(String) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Retrieves or creates a QueryStats entry for the given SQL string.
getReconnectedCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
The total number of connections reconnected by this pool.
getReconnectedCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The total number of connections reconnected by this pool.
getReconnectedCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getReconnectedCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of reconnections since pool creation.
getReleasedCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
The total number of connections released from this pool.
getReleasedCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The total number of connections released from this pool.
getReleasedCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getReleasedCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of connections released since pool creation.
getReleasedIdleCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
The total number of connections released by eviction.
getReleasedIdleCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The total number of connections released by eviction.
getReleasedIdleCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getReleasedIdleCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of idle connections released by the pool cleaner.
getReleaseTime() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
The time limit for how long the object can remain unused before it is released
getRemoveAbandonedCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
The total number of connections released by remove abandoned.
getRemoveAbandonedCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The total number of connections released by remove abandoned.
getRemoveAbandonedCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getRemoveAbandonedCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of connections removed due to abandonment.
getRemoveAbandonedTimeout() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getRemoveAbandonedTimeout() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getRemoveAbandonedTimeout() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The time in seconds before a connection can be considered abandoned.
getRemoveAbandonedTimeout() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getResultSetConstructor() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Gets the constructor for creating ResultSet proxies.
getReturnedCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
The total number of connections returned to this pool.
getReturnedCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The total number of connections returned to this pool.
getReturnedCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getReturnedCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of connections returned since pool creation.
getRollbackOnReturn() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getRollbackOnReturn() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getRollbackOnReturn() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns whether the pool rolls back any pending transaction when a connection is returned.
getRollbackOnReturn() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getSchema() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
getSchema() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the current schema name.
getSize() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns the total size of this pool, this includes both busy and idle connections
getSize() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Returns the current total number of connections in the pool.
getSize() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getSize() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the total number of connections in the pool.
getSlowQueriesCD() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
JMX operation - returns all the queries we have collected.
getSlowQueriesCD() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmxMBean
Returns slow query statistics as JMX CompositeData, as the SlowQueriesCD attribute.
getSql() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Returns the SQL text.
getStackTrace() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the stack trace from when this connection was borrowed.
getStackTrace(Throwable) - Static method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Convert an exception into a String
getStatement() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer.StatementEntry
Returns the tracked statement.
getSuspectTimeout() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getSuspectTimeout() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getSuspectTimeout() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the time in seconds to pass before a connection is marked an abandoned suspect.
getSuspectTimeout() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getThreadDump() - Static method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Creates a stack trace representing the existing thread's current state.
getThreadDumpElements() - Static method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Captures the existing thread's current state without formatting it.
getThreshold() - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
returns the query measure threshold.
getTimeBetweenEvictionRunsMillis() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getTimeBetweenEvictionRunsMillis() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getTimeBetweenEvictionRunsMillis() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The number of milliseconds to sleep between runs of the idle connection validation, abandoned cleaner and idle pool resizing.
getTimeBetweenEvictionRunsMillis() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getTimestamp() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Return the timestamps of last pool action.
getTimestamp() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the timestamp of the last pool action.
getTotalInvocationTime() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns the total time spent executing this query across all invocations.
getTransactionIsolation() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
getTransactionIsolation() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns the current transaction isolation level.
getTypes() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Returns the statement types being cached.
getUrl() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getUrl() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getUrl() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The URL used to connect to the database
getUrl() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getUseDisposableConnectionFacade() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect.
getUseDisposableConnectionFacade() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect.
getUseDisposableConnectionFacade() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect.
getUseDisposableConnectionFacade() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect.
getUseLock() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getUseLock() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getUseLock() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Return true if a lock should be used when operations are performed on the connection object.
getUseLock() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getUsername() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getUsername() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getUsername() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the username used to establish the connection with
getUsername() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getUseStatementFacade() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Deprecated.
The statement facade is always used, so this property no longer has any effect.
getUseStatementFacade() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Deprecated.
The statement facade is always used, so this property no longer has any effect.
getUseStatementFacade() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Deprecated.
The statement facade is always used, so this property no longer has any effect.
getUseStatementFacade() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Deprecated.
The statement facade is always used, so this property no longer has any effect.
getValidationInterval() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getValidationInterval() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getValidationInterval() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
avoid excess validation, only run validation at most at this frequency - time in milliseconds.
getValidationInterval() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getValidationQuery() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getValidationQuery() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getValidationQuery() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The SQL query that will be used to validate connections from this pool before returning them to the caller or pool.
getValidationQuery() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getValidationQueryTimeout() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getValidationQueryTimeout() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getValidationQueryTimeout() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The timeout in seconds before a connection validation queries fail.
getValidationQueryTimeout() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getValidator() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getValidator() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getValidator() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns the validator object used for connection validation.
getValidator() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getValidatorClassName() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
getValidatorClassName() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getValidatorClassName() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Return the name of the optional validator class - may be null.
getValidatorClassName() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
getValue() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value.
getValueAsBoolean(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as a boolean.
getValueAsByte(byte) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as a byte.
getValueAschar(char) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as a char.
getValueAsDouble(double) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as a double.
getValueAsFloat(float) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as a float.
getValueAsInt(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as an int.
getValueAsLong(long) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as a long.
getValueAsShort(short) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Returns the property value as a short.
getWaitCount() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Return the number of threads waiting for a connection
getWaitCount() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Returns the number of threads currently waiting for a connection from the pool.
getWaitCount() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
getWaitCount() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Returns the number of threads waiting for a connection.
getXAConnection() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Get a database connection.
getXAConnection() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the underlying XA connection
getXAConnection() - Method in class org.apache.tomcat.jdbc.pool.XADataSource
Get a database connection.
getXAConnection(String, String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Get a database connection.
getXAConnection(String, String) - Method in class org.apache.tomcat.jdbc.pool.XADataSource
Get a database connection.

H

hashCode() - Method in class org.apache.tomcat.jdbc.pool.DisposableConnectionFacade
 
hashCode() - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
 
hashCode() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
 
hashCode() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.ResultSetProxy
 
hashCode() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
 
hashCode() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
 
hashCode() - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.ResultSetProxy
 
hashCode() - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
 
HASHCODE_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
hasLivePool(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.PoolStatistics
Returns whether the given pool is one of the live pools registered under this name.
hasNext() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.FairIterator
 
hasOtherLivePools() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.PoolStatistics
Returns whether pools other than the caller's own are registered under this name.

I

init(PoolConfiguration) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Initialize the connection pool - called from the constructor
initializePoolCleaner(PoolConfiguration) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Starts the pool cleaner (evicter) thread if pool sweeper is enabled.
InterceptorDefinition(Class) - Constructor for class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Constructs an InterceptorDefinition with the given class.
InterceptorDefinition(String) - Constructor for class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Constructs an InterceptorDefinition with the given class name.
InterceptorProperty(String, String) - Constructor for class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorProperty
Constructs an InterceptorProperty with the given name and value.
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.DisposableConnectionFacade
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache.CachedStatement
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.ResultSetProxy
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer.CloseAwareProxy
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Gets invoked each time an operation on Connection is invoked.
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.ResultSetProxy
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
 
invoke(Object, Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.TrapException
 
isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isAccessToUnderlyingConnectionAllowed() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Property not used.
isAccessToUnderlyingConnectionAllowed() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isAlternateUsernameAllowed() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isAlternateUsernameAllowed() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isAlternateUsernameAllowed() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns true if the call getConnection(username,password) is allowed.
isAlternateUsernameAllowed() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isCacheCallable() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
isCacheCallable() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.StatementCacheMBean
Checks if callable statements are being cached.
isCached(Method, Object[]) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Checks if a statement for the given method and arguments is currently cached.
isCachePrepared() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
isCachePrepared() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.StatementCacheMBean
Checks if prepared statements are being cached.
isCancelled() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
isCancelled() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
 
isClosed() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns true if close has been called, and the connection pool is unusable
isClosed() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns true if this pooled connection is closed: either it currently has no physical connection or that connection is closed.
isClosed() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns true if the connection has been closed.
isClosed() - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Returns true if the underlying connection has been closed or discarded.
ISCLOSED_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
isDeclaredException(Method, Class) - Method in class org.apache.tomcat.jdbc.pool.TrapException
Checks if the given exception class is declared in the throws clause of the specified method.
isDefaultAutoCommit() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isDefaultAutoCommit() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isDefaultAutoCommit() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The default auto-commit state of connections created by this pool.
isDefaultAutoCommit() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isDefaultReadOnly() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isDefaultReadOnly() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isDefaultReadOnly() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If non null, during connection creation the method Connection.setReadOnly(boolean) will be called with the set value.
isDefaultReadOnly() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isDiscarded() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns the discarded flag.
isDiscarded() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns true if the connection has been discarded.
isDone() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
isDone() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
 
isEmpty() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
isExecute(Method, boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Returns true if the method that is being invoked matches one of the execute types.
isExecuteQuery(Method) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Checks if the given method is executeQuery.
isExecuteQuery(String) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Checks if the given method name is executeQuery.
isFairQueue() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isFairQueue() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isFairQueue() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns true if a fair queue is being used by the connection pool
isFairQueue() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isIgnoreExceptionOnPreLoad() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isIgnoreExceptionOnPreLoad() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isIgnoreExceptionOnPreLoad() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns whether exceptions during connection creation at pool initialization should be ignored.
isIgnoreExceptionOnPreLoad() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isInitialized() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
isInitialized() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns true if the connection has been initialized.
isJmxEnabled() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isJmxEnabled() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isJmxEnabled() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If set to true, the connection pool creates a ConnectionPoolMBean object that can be registered with JMX to receive notifications and state about the pool.
isJmxEnabled() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isLogAbandoned() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isLogAbandoned() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isLogAbandoned() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
boolean flag to set if stack traces should be logged for application code which abandoned a Connection.
isLogAbandoned() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isLogFailed() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Returns whether failed query logging is enabled.
isLogSlow() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Returns whether slow query logging is enabled.
isMaxAgeExpired() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns true if the connection has been connected more than PoolConfiguration.getMaxAge() milliseconds. false otherwise.
isMaxAgeExpired() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns true if the connection has exceeded its maximum age.
isNotifyPool() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Returns whether notifications are sent to the pool.
isOlderThan(SlowQueryReport.QueryStats) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Returns whether this query was last invoked before the given query stats.
isPoolSweeperEnabled() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isPoolSweeperEnabled() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isPoolSweeperEnabled() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns true if the pool sweeper is enabled for the connection pool.
isPoolSweeperEnabled() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isReadOnly() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
isReadOnly() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns true if the connection is in read-only mode.
isReleased() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns true if this connection has been released and wont be reused.
isReleased() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns true if the connection has been released.
isRemoveAbandoned() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isRemoveAbandoned() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isRemoveAbandoned() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
boolean flag to remove abandoned connections if they exceed the removeAbandonedTimeout.
isRemoveAbandoned() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isResultSet(Method, boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Checks if the given method returns a ResultSet.
isStatement(Method, boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Returns true if the method that is being invoked matches one of the statement types.
isSuspect() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
isSuspect() - Method in interface org.apache.tomcat.jdbc.pool.PooledConnectionMBean
Returns true if the connection is suspected to be invalid.
isTestOnBorrow() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isTestOnBorrow() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isTestOnBorrow() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The indication of whether objects will be validated before being borrowed from the pool.
isTestOnBorrow() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isTestOnConnect() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isTestOnConnect() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isTestOnConnect() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Returns true if we should run the validation query when connecting to the database for the first time on a connection.
isTestOnConnect() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isTestOnReturn() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isTestOnReturn() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isTestOnReturn() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The indication of whether objects will be validated after being returned to the pool.
isTestOnReturn() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isTestWhileIdle() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isTestWhileIdle() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isTestWhileIdle() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if query validation should take place while the connection is idle.
isTestWhileIdle() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
isUseEquals() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
isUseEquals() - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
True if the compare method uses the Object.equals(Object) method, false if comparison is done on a reference level.
isUseEquals() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
isUseEquals() - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if you wish the ProxyConnection class to use String.equals instead of == when comparing method names.
isUseEquals() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
ISVALID_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
isWrapperFor(Class) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Check if this proxy implements, or wraps an instance of, the given interface.
isWrapperFor(Class) - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Checks whether this interceptor wraps the given interface.
ISWRAPPERFOR_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
item - Variable in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch
The item to exchange.
item - Variable in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
The item directly available in the future.
ItemFuture(FairBlockingQueue.ExchangeCountDownLatch) - Constructor for class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
Creates an ItemFuture that waits on the given latch.
ItemFuture(T) - Constructor for class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
Creates an ItemFuture with the given item already available.
iterator() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 

J

JdbcInterceptor - Class in org.apache.tomcat.jdbc.pool
Abstract class that is to be extended for implementations of interceptors.
JdbcInterceptor() - Constructor for class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Public constructor for instantiation through reflection
jmxPool - Variable in class org.apache.tomcat.jdbc.pool.ConnectionPool
reference to the JMX mbean. close() gives it up without holding any pool lock while other threads still notify through it, so the field is volatile and every user reads it at most once, into a local.
JmxUtil - Class in org.apache.tomcat.jdbc.pool.jmx
Utility class for JMX registration of JDBC pool components.

L

lastPoolOfNameClosed - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Whether the SlowQueryReport.poolClosed(ConnectionPool) delivered to this instance deregistered the closing pool as the last live pool under its name, meaning everything else registered for that name - the interceptor's MBean and broadcaster, for instance - can and must now be released with it.
latch - Variable in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ItemFuture
The latch used to wait for an item.
listeners - Variable in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Listeners that are local and interested in our notifications, no need for JMX
loadClass(String, ClassLoader...) - Static method in class org.apache.tomcat.jdbc.pool.ClassLoaderUtil
Attempts to load the specified class using the given class loaders in order.
lock() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Locks the connection only if either PoolConfiguration.isPoolSweeperEnabled() or PoolConfiguration.getUseLock() return true.
logFailed - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Flag to enable disable logging of failed queries
logSlow - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Flag to enable disable logging of slow queries

M

maxQueries - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Maximum number of queries we will be storing statistics for.
mbeans - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Registry of JMX MBeans for each connection pool.
MessageFactory - Class in org.apache.tomcat.jdbc.pool.util
Factory for creating localized JDBC pool messages.
MessageFactory(ResourceBundle) - Constructor for class org.apache.tomcat.jdbc.pool.util.MessageFactory
Constructor.

N

next() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.FairIterator
 
NO_TYPE - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
No statement types.
notifier - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Notification broadcaster used before the pool name is known; once the pool name is known, SlowQueryReportJmx.getNotifier() returns the broadcaster shared by all interceptor instances of that pool.
notifiers - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Notification broadcasters for each connection pool.
notify(String, String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Reports a condition to the pool's notification listeners.
NOTIFY_ABANDON - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when a connection that has been checked out longer than the remove-abandoned timeout is abandoned and removed from the pool.
NOTIFY_CONNECT - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when the pool cannot establish a physical connection to the database.
NOTIFY_INIT - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when the initialization of the pool fails, because an interceptor could not be started or because an initial connection of the pool could not be created and the failure is not ignored through ignoreExceptionOnPreLoad.
notifyJmx(String, String) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Sends a JMX notification for the given query and notification type.
notifyPool - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Whether to send notifications to the pool.
notifySequence - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Atomic sequence counter for notifications.

O

OBJECT_NAME - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for the JMX object name.
objectNameAttribute - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Property key for overriding the JMX object name.
offer(E) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
Will always return true, queue is unbounded.
offer(E, long, TimeUnit) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
Will never timeout, as it invokes the FairBlockingQueue.offer(Object) method.
oname - Variable in class org.apache.tomcat.jdbc.pool.DataSource
The JMX ObjectName for the connection pool MBean.
org.apache.tomcat.jdbc.naming - package org.apache.tomcat.jdbc.naming
 
org.apache.tomcat.jdbc.pool - package org.apache.tomcat.jdbc.pool
 
org.apache.tomcat.jdbc.pool.interceptor - package org.apache.tomcat.jdbc.pool.interceptor
 
org.apache.tomcat.jdbc.pool.jmx - package org.apache.tomcat.jdbc.pool.jmx
 
org.apache.tomcat.jdbc.pool.util - package org.apache.tomcat.jdbc.pool.util
 

P

parent - Variable in class org.apache.tomcat.jdbc.pool.PooledConnection
The parent
parsePoolProperties(Properties) - Static method in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Parse the given properties into a PoolConfiguration.
peek() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
performJNDILookup(Context, PoolConfiguration) - Method in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Perform a JNDI lookup for the data source.
perPoolStats - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
we will be keeping track of query stats on a per pool basis, keyed by pool name; pools registered under one name share the statistics
PKG_PREFIX - Static variable in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
JMX prefix for interceptors that register themselves with JMX
poll() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
poll(long, TimeUnit) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
Fair retrieval of an object in the queue.
pollAsync() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
Request an item from the queue asynchronously.
pool - Variable in class org.apache.tomcat.jdbc.pool.ConnectionPool.PoolCleaner
Weak reference to the connection pool being monitored.
pool - Variable in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The underlying connection pool.
pool - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
The connection pool reference.
pool - Variable in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
the connection pool
pool - Variable in class org.apache.tomcat.jdbc.pool.ProxyConnection
The parent connection pool.
POOL_EMPTY - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when a borrow from the pool fails because the pool is empty: the borrower was not willing to wait for a connection or its wait timed out.
POOL_JMX_DOMAIN - Static variable in class org.apache.tomcat.jdbc.pool.ConnectionPool
Default domain for objects registering with an mbean server
POOL_JMX_TYPE_PREFIX - Static variable in class org.apache.tomcat.jdbc.pool.ConnectionPool
Prefix type for JMX registration
poolClosed(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Releases the query statistics map for the given connection pool, unless another live pool is still registered under its name.
poolClosed(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
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.
poolClosed(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
poolClosed(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
This method is invoked by a connection pool when the pool is closed.
PoolConfiguration - Interface in org.apache.tomcat.jdbc.pool
A list of properties that are configurable for a connection pool.
poolCounter - Static variable in class org.apache.tomcat.jdbc.pool.PoolProperties
Counter for tracking the number of pools created.
PooledConnection - Class in org.apache.tomcat.jdbc.pool
Represents a pooled connection and holds a reference to the Connection object
PooledConnection(PoolConfiguration, ConnectionPool) - Constructor for class org.apache.tomcat.jdbc.pool.PooledConnection
Constructor
PooledConnectionMBean - Interface in org.apache.tomcat.jdbc.pool
JMX MBean interface for monitoring pooled connections.
PoolExhaustedException - Exception Class in org.apache.tomcat.jdbc.pool
Exception thrown when the connection pool is exhausted and no connections are available.
PoolExhaustedException() - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with no detail message.
PoolExhaustedException(String) - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with the specified detail message.
PoolExhaustedException(String, String) - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with the specified detail message and SQL state.
PoolExhaustedException(String, String, int) - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with the specified detail message, SQL state, and vendor code.
PoolExhaustedException(String, String, int, Throwable) - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with the specified detail message, SQL state, vendor code, and cause.
PoolExhaustedException(String, String, Throwable) - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with the specified detail message, SQL state, and cause.
PoolExhaustedException(String, Throwable) - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with the specified detail message and cause.
PoolExhaustedException(Throwable) - Constructor for exception class org.apache.tomcat.jdbc.pool.PoolExhaustedException
Constructs a PoolExhaustedException with the specified cause.
poolName - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
The name of the connection pool.
poolProperties - Variable in class org.apache.tomcat.jdbc.pool.DataSourceProxy
The pool configuration properties.
poolProperties - Variable in class org.apache.tomcat.jdbc.pool.PooledConnection
The properties for the connection pool
PoolProperties - Class in org.apache.tomcat.jdbc.pool
Implementation of PoolConfiguration that holds the configuration properties for a connection pool.
PoolProperties() - Constructor for class org.apache.tomcat.jdbc.pool.PoolProperties
Constructs a PoolProperties with default values.
PoolProperties.InterceptorDefinition - Class in org.apache.tomcat.jdbc.pool
Definition of a JDBC interceptor with its configuration properties.
PoolProperties.InterceptorProperty - Class in org.apache.tomcat.jdbc.pool
Represents a property for a JDBC interceptor.
poolStarted(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Initializes the query statistics map for the given connection pool.
poolStarted(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Called when the connection pool is started.
poolStarted(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
poolStarted(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
This method is invoked by a connection pool when the pool is first started up, usually when the first connection is requested.
PoolStatistics() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.PoolStatistics
 
PoolUtilities - Class in org.apache.tomcat.jdbc.pool
Utility methods for managing JDBC pool properties.
PoolUtilities() - Constructor for class org.apache.tomcat.jdbc.pool.PoolUtilities
Default constructor.
postDeregister() - Method in class org.apache.tomcat.jdbc.pool.DataSource
Unregisters the underlying connection pool mbean.
postDeregister() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Drops the registration name.
postRegister(Boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSource
Releases the pool MBean that DataSource.preRegister(MBeanServer, ObjectName) published when the MBean server did not complete this DataSource's own registration.
postRegister(Boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
preDeregister() - Method in class org.apache.tomcat.jdbc.pool.DataSource
no-op
preDeregister() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
prepare(long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Records the time taken to prepare this query.
PREPARE_CALL - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
PREPARE_CALL_IDX - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
PREPARE_STATEMENT - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
PREPARE_STATEMENT_IDX - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
prepareCall(String, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Invoked when prepareCall has been called and completed.
prepareCall(String, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
prepareCall(String, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Tracks the preparation time for a callable statement.
PREPARED_TYPE - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Prepared statement type only.
prepareStatement(String, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Invoked when prepareStatement has been called and completed.
prepareStatement(String, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
prepareStatement(String, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Tracks the preparation time for a prepared statement.
preRegister(MBeanServer, ObjectName) - Method in class org.apache.tomcat.jdbc.pool.DataSource
If the connection pool MBean exists, it will be registered during this operation.
preRegister(MBeanServer, ObjectName) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
process(String[], Method, boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Returns true if the method that is being invoked matches one of the method names passed in
PROP_ABANDONWHENPERCENTAGEFULL - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for abandonWhenPercentageFull.
PROP_ACCESSTOUNDERLYINGCONNECTIONALLOWED - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for accessToUnderlyingConnectionAllowed.
PROP_ALTERNATE_USERNAME_ALLOWED - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for alternateUsernameAllowed.
PROP_COMMITONRETURN - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for commitOnReturn.
PROP_CONNECTIONPROPERTIES - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for connectionProperties.
PROP_DATASOURCE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for dataSource.
PROP_DATASOURCE_JNDI - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for dataSourceJNDI.
PROP_DEFAULTAUTOCOMMIT - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for defaultAutoCommit.
PROP_DEFAULTCATALOG - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for defaultCatalog.
PROP_DEFAULTREADONLY - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for defaultReadOnly.
PROP_DEFAULTTRANSACTIONISOLATION - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for defaultTransactionIsolation.
PROP_DRIVERCLASSNAME - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for driverClassName.
PROP_FAIR_QUEUE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for fairQueue.
PROP_IGNOREEXCEPTIONONPRELOAD - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for ignoreExceptionOnPreLoad.
PROP_INITIALSIZE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for initialSize.
PROP_INITSQL - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for initSQL.
PROP_INTERCEPTORS - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for jdbcInterceptors.
PROP_JMX_ENABLED - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for jmxEnabled.
PROP_LOGABANDONED - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for logAbandoned.
PROP_LOGVALIDATIONERRORS - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for logValidationErrors.
PROP_MAXACTIVE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for maxActive.
PROP_MAXAGE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for maxAge.
PROP_MAXIDLE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for maxIdle.
PROP_MAXOPENPREPAREDSTATEMENTS - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for maxOpenPreparedStatements.
PROP_MAXWAIT - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for maxWait.
PROP_MINEVICTABLEIDLETIMEMILLIS - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for minEvictableIdleTimeMillis.
PROP_MINIDLE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for minIdle.
PROP_NUMTESTSPEREVICTIONRUN - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for numTestsPerEvictionRun.
PROP_PASSWORD - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for password.
PROP_PASSWORD - Static variable in class org.apache.tomcat.jdbc.pool.PooledConnection
Attribute key for the password.
PROP_PASSWORD - Static variable in class org.apache.tomcat.jdbc.pool.PoolUtilities
Property key for the database password.
PROP_POOLPREPAREDSTATEMENTS - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for poolPreparedStatements.
PROP_PROPAGATEINTERRUPTSTATE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for propagateInterruptState.
PROP_REMOVEABANDONED - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for removeAbandoned.
PROP_REMOVEABANDONEDTIMEOUT - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for removeAbandonedTimeout.
PROP_ROLLBACKONRETURN - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for rollbackOnReturn.
PROP_SUSPECT_TIMEOUT - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for suspectTimeout.
PROP_TESTONBORROW - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for testOnBorrow.
PROP_TESTONCONNECT - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for testOnConnect.
PROP_TESTONRETURN - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for testOnReturn.
PROP_TESTWHILEIDLE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for testWhileIdle.
PROP_TIMEBETWEENEVICTIONRUNSMILLIS - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for timeBetweenEvictionRunsMillis.
PROP_URL - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for url.
PROP_USE_CON_LOCK - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for useLock.
PROP_USE_EQUALS - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for useEquals.
PROP_USEDISPOSABLECONNECTIONFACADE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for useDisposableConnectionFacade.
PROP_USER - Static variable in class org.apache.tomcat.jdbc.pool.PooledConnection
Attribute key for the username.
PROP_USER - Static variable in class org.apache.tomcat.jdbc.pool.PoolUtilities
Property key for the database user name.
PROP_USERNAME - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for username.
PROP_USESTATEMENTFACADE - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for useStatementFacade.
PROP_VALIDATIONINTERVAL - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for validationInterval.
PROP_VALIDATIONQUERY - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for validationQuery.
PROP_VALIDATIONQUERY_TIMEOUT - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for validationQueryTimeout.
PROP_VALIDATOR_CLASS_NAME - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Property name for validatorClassName.
properties - Variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Properties for this interceptor.
properties - Variable in class org.apache.tomcat.jdbc.pool.PoolProperties.InterceptorDefinition
Map of interceptor properties.
ProxyConnection - Class in org.apache.tomcat.jdbc.pool
A ProxyConnection object is the bottom most interceptor that wraps an object of type PooledConnection.
ProxyConnection(ConnectionPool, PooledConnection, boolean) - Constructor for class org.apache.tomcat.jdbc.pool.ProxyConnection
Creates a new ProxyConnection wrapping the given pooled connection.
purge() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Purges all connections in the pool.
purge() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Purge all connections from the pool.
purge() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
purge() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Purges all connections in the pool.
purgeOnReturn() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Purges connections when they are returned from the pool.
purgeOnReturn() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Enable purging of connections on return to the pool.
purgeOnReturn() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
purgeOnReturn() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Purges connections when they are returned from the pool.
put(E) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 

Q

queries - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
the queries that are used for this interceptor.
query - Variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
The SQL query being executed.
query - Variable in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
The SQL query text.
QueryStats(String) - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
Creates a new QueryStats instance for the given SQL query.
queryStatsComparator - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Sort QueryStats by last invocation time
QueryStatsComparator() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStatsComparator
Creates a new QueryStatsComparator.
QueryTimeoutInterceptor - Class in org.apache.tomcat.jdbc.pool.interceptor
Interceptor that sets a query timeout on every created Statement.
QueryTimeoutInterceptor() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.QueryTimeoutInterceptor
Default constructor.

R

readOnly - Variable in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Cached read-only state of the connection.
readState - Variable in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Method names for reading connection state.
reconnect() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Issues a call to PooledConnection.disconnect(boolean) with the argument false followed by a call to PooledConnection.connect()
reconnectIfExpired(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Checks whether this connection has expired and tries to reconnect if it has.
registerConnectionMBeans() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Publishes the MBeans of all connections this pool currently holds, below the pool's own MBean.
registeredUnder - Variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
The ObjectName this instance published itself under.
registerJmx() - Method in class org.apache.tomcat.jdbc.pool.DataSource
Registers the ConnectionPoolMBean under a unique name based on the ObjectName for the DataSource.
registerJmx() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Registers this interceptor with JMX.
registerJmx(ObjectName, String, Object) - Static method in class org.apache.tomcat.jdbc.pool.jmx.JmxUtil
Register an object as an MBean.
registrationFailuresLogged - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Registry of the first registration failure seen for each pool name, holding the ObjectName that failed.
registrationObjectName(SlowQueryReportJmxMBean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Returns the ObjectName the given registry registration published itself under, as the registry owner recorded it when SlowQueryReportJmx.registerJmx() took the slot.
release() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
This method is called if (Now - timeCheckedIn > getReleaseTime()) This method disconnects the connection, logs an error in debug mode if it happens then sets the PooledConnection.released flag to false.
release(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
thread safe way to release a connection
releaseJmxRegistration(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
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 through SlowQueryReportJmx.deregisterJmx() - unless a live pool is registered under the name again that does not include the releasing one.
releaseStatistics(ConnectionPool) - Static method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
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.
remainingCapacity() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
remove() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.FairIterator
 
remove() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
remove(Object) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
removeAll(Collection) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
removeListener(NotificationListener) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Removes a local notification listener from the pool.
removeLivePool(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.PoolStatistics
Deregisters a pool that closed.
removeNotificationListener(NotificationListener) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Removes a notification listener.
removeNotificationListener(NotificationListener, NotificationFilter, Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Removes a notification listener with the given filter and handback.
removeOldest(ConcurrentHashMap) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Evicts the least recently invoked query statistics until the map is back within maxQueries entries.
removeStatement(StatementCache.CachedStatement) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Removes the given statement from the cache.
reportFailedQuery(String, Object[], String, long, long, Throwable) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Invoked when a query execution, a call to an execute method as recognised by AbstractCreateStatementInterceptor.isExecute(Method, boolean), failed.
reportFailedQuery(String, Object[], String, long, long, Throwable) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
reportFailedQuery(String, Object[], String, long, long, Throwable) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
 
reportFailedQuery(String, Object[], String, long, long, Throwable) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Reports a failed query and sends a JMX notification if logging is enabled.
reportQuery(String, Object[], String, long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Invoked when a query execution, a call to an execute method as recognised by AbstractCreateStatementInterceptor.isExecute(Method, boolean), succeeded and was within the timing threshold
reportQuery(String, Object[], String, long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
reportQuery(String, Object[], String, long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
 
reportSlowQuery(String, Object[], String, long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Invoked when a query execution, a call to an execute method as recognised by AbstractCreateStatementInterceptor.isExecute(Method, boolean), succeeded and was exceeded the timing threshold
reportSlowQuery(String, Object[], String, long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
reportSlowQuery(String, Object[], String, long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
 
reportSlowQuery(String, Object[], String, long, long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Reports a slow query and sends a JMX notification if logging is enabled.
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.DisposableConnectionFacade
 
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
no-op for this interceptor. no state is stored.
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Restores the connection state the pool was configured to enforce.
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Resets the query statistics reference when a connection is reset.
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Resets this interceptor for a new connection, registering JMX if applicable.
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
 
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
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.
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
 
reset(ConnectionPool, PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.TrapException
no-op for this interceptor. no state is stored.
ResetAbandonedTimer - Class in org.apache.tomcat.jdbc.pool.interceptor
Class that resets the abandoned timer on any activity on the Connection, on any query execution and on any read of a ResultSet returned by a statement obtained from the pooled connection, whether the operation completed successfully or failed.
ResetAbandonedTimer() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
Default constructor.
ResetAbandonedTimerMBean - Interface in org.apache.tomcat.jdbc.pool.interceptor
MBean interface for the ResetAbandonedTimer connection pool interceptor.
resetStats() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
reset the statistics of this pool.
resetStats() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
reset the statistics of this pool.
resetStats() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
JMX operation - remove all stats for this connection pool.
resetStats() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmxMBean
Removes all query statistics recorded for the pool this MBean reports for, so an operator can start from a clean slate instead of restarting the pool.
resetStats() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
resetStats() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
reset the statistics of this pool.
resetTimer() - Method in class org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimer
 
resetTimer() - Method in interface org.apache.tomcat.jdbc.pool.interceptor.ResetAbandonedTimerMBean
Reset the abandoned timer for the pooled connection.
RESULTSET_IDX - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
RESULTSET_TYPES - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Method names that return a ResultSet.
resultSetConstructor - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
the constructor to create the resultSet proxies
ResultSetProxy(Object, Object) - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.ResultSetProxy
Constructs a ResultSetProxy.
ResultSetProxy(Object, Object) - Constructor for class org.apache.tomcat.jdbc.pool.StatementFacade.ResultSetProxy
Constructs a ResultSetProxy.
retainAll(Collection) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
returnConnection(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Returns a connection to the pool If the pool is closed, the connection will be released If the connection is not part of the busy queue, it will be released.
run() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.ConnectionFuture
run method to be executed when cancelled by an executor
run() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.PoolCleaner
 

S

sequence - Variable in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
sequence for JMX notifications
setAbandonWhenPercentageFull(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setAbandonWhenPercentageFull(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setAbandonWhenPercentageFull(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Connections that have been abandoned (timed out) wont get closed and reported up unless the number of connections in use are above the percentage defined by abandonWhenPercentageFull.
setAbandonWhenPercentageFull(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setAccessToUnderlyingConnectionAllowed(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setAccessToUnderlyingConnectionAllowed(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setAccessToUnderlyingConnectionAllowed(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
No-op
setAccessToUnderlyingConnectionAllowed(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setActualProxy(Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Sets the actual proxy object.
setAlternateUsernameAllowed(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setAlternateUsernameAllowed(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setAlternateUsernameAllowed(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if the call getConnection(username,password) is allowed and honored..
setAlternateUsernameAllowed(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setCacheKey(StatementCache.CacheKey) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache.CachedStatement
Sets the cache key for this statement.
setCommitOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setCommitOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setCommitOnReturn(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if you want the connection pool to commit any pending transaction when a connection is returned.
setCommitOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setConnection(Object) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Binds the connection handle that StatementDecoratorInterceptor.StatementProxy.getConnection() will report for this statement.
setConnection(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Sets the underlying pooled connection.
setConnectionProperties(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setConnectionProperties(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setConnectionProperties(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The properties that will be passed into Driver.connect(String, Properties) method.
setConnectionProperties(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Stores the connection properties string and parses the pairs into the database properties the pool connects with.
setConstructor(Constructor) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Sets the constructor for creating proxies.
setDataSource(Object) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDataSource(Object) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDataSource(Object) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Injects a datasource that will be used to retrieve/create connections.
setDataSource(Object) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setDataSourceJNDI(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDataSourceJNDI(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDataSourceJNDI(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Configure the connection pool to use a DataSource according to PoolConfiguration.setDataSource(Object) But instead of injecting the object, specify the JNDI location.
setDataSourceJNDI(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setDbProperties(Properties) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDbProperties(Properties) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDbProperties(Properties) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Overrides the database properties passed into the Driver.connect(String, Properties) method.
setDbProperties(Properties) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Replaces the database properties the pool connects with.
setDefaultAutoCommit(Boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDefaultAutoCommit(Boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDefaultAutoCommit(Boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The default auto-commit state of connections created by this pool.
setDefaultAutoCommit(Boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setDefaultCatalog(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDefaultCatalog(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDefaultCatalog(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If non null, during connection creation the method Connection.setCatalog(String) will be called with the set value.
setDefaultCatalog(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setDefaultReadOnly(Boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDefaultReadOnly(Boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDefaultReadOnly(Boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If non null, during connection creation the method Connection.setReadOnly(boolean) will be called with the set value.
setDefaultReadOnly(Boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setDefaultTransactionIsolation(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDefaultTransactionIsolation(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDefaultTransactionIsolation(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If set to DataSourceFactory.UNKNOWN_TRANSACTIONISOLATION the method Connection.setTransactionIsolation(int) will not be called during connection creation.
setDefaultTransactionIsolation(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setDiscarded(boolean) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
An interceptor can call this method with the value true, and the connection will be closed when it is returned to the pool.
setDriverClassName(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setDriverClassName(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setDriverClassName(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The fully qualified Java class name of the JDBC driver to be used.
setDriverClassName(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setFairQueue(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setFairQueue(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setFairQueue(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if you wish that calls to getConnection should be treated fairly in a true FIFO fashion.
setFairQueue(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setFuture(FairBlockingQueue.ItemFuture) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch
Sets the future the exchanged item is meant for.
setHandler(JdbcInterceptor) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Sets the interceptor chain handler for this connection.
setIgnoreExceptionOnPreLoad(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setIgnoreExceptionOnPreLoad(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setIgnoreExceptionOnPreLoad(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if you want to ignore error of connection creation while initializing the pool.
setIgnoreExceptionOnPreLoad(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setInitialSize(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setInitialSize(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setInitialSize(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set the number of connections that will be established when the connection pool is started.
setInitialSize(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setInitSQL(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setInitSQL(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setInitSQL(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
A custom query to be run when a connection is first created.
setInitSQL(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setItem(T) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue.ExchangeCountDownLatch
Sets the item to be exchanged.
setJdbcInterceptors(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setJdbcInterceptors(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setJdbcInterceptors(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
A semicolon separated list of classnames extending JdbcInterceptor class.
setJdbcInterceptors(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Stores the interceptor configuration string and drops the parsed cache so the next PoolProperties.getJdbcInterceptorsAsArray() re-parses the new value.
setJmxEnabled(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setJmxEnabled(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setJmxEnabled(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
If set to true, the connection pool creates a ConnectionPoolMBean object that can be registered with JMX to receive notifications and state about the pool.
setJmxEnabled(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setLastValidated(long) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Set the timestamp the connection was last validated.
setLogAbandoned(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setLogAbandoned(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setLogAbandoned(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
boolean flag to set if stack traces should be logged for application code which abandoned a Connection.
setLogAbandoned(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setLogFailed(boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Enables or disables failed query logging.
setLoginTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
setLogSlow(boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Enables or disables slow query logging.
setLogValidationErrors(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setLogValidationErrors(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setLogValidationErrors(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if you wish that errors from validation should be logged as error messages.
setLogValidationErrors(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setLogWriter(PrintWriter) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
setMaxActive(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setMaxActive(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setMaxActive(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The maximum number of active connections that can be allocated from this pool at the same time.
setMaxActive(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setMaxAge(long) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setMaxAge(long) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setMaxAge(long) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Time in milliseconds to keep this connection before reconnecting.
setMaxAge(long) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setMaxIdle(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setMaxIdle(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setMaxIdle(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The maximum number of connections that should be kept in the idle pool if PoolConfiguration.isPoolSweeperEnabled() returns false.
setMaxIdle(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setMaxQueries(int) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Sets the maximum number of queries to track statistics for.
setMaxWait(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setMaxWait(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setMaxWait(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The maximum number of milliseconds that the pool will wait (when there are no available connections and the PoolConfiguration.getMaxActive() has been reached) for a connection to be returned before throwing an exception.
setMaxWait(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setMinEvictableIdleTimeMillis(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setMinEvictableIdleTimeMillis(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setMinEvictableIdleTimeMillis(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The minimum amount of time an object must sit idle in the pool before it is eligible for eviction.
setMinEvictableIdleTimeMillis(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setMinIdle(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setMinIdle(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setMinIdle(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The minimum number of established connections that should be kept in the pool at all times.
setMinIdle(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setName(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setName(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setName(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Sets the name of the connection pool
setName(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setNext(JdbcInterceptor) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
configures the next interceptor in the chain
setNotifyPool(boolean) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Sets whether notifications are sent to the pool.
setNumTestsPerEvictionRun(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setNumTestsPerEvictionRun(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setNumTestsPerEvictionRun(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Property not used
setNumTestsPerEvictionRun(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setPassword(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Sets the password used to establish connections with, and mirrors it into the password database property.
setPassword(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setPassword(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Sets the password to establish the connection with.
setPassword(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setPool(ConnectionPool) - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Sets the parent connection pool.
setPoolProperties(PoolConfiguration) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Set the pool configuration properties directly.
setPoolProperties(PoolConfiguration) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Sets the pool configuration for this connection and connection pool.
setPropagateInterruptState(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setPropagateInterruptState(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setPropagateInterruptState(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Configure the pool to propagate interrupt state for interrupted threads waiting for a connection A thread waiting for a connection, can have its wait interrupted, and by default will clear the interrupt flag and throw a PoolExhaustedException If set to true, this behavior will change, while the PoolExhaustedException is still thrown, the threads interrupted state is still set.
setPropagateInterruptState(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setProperties(Map) - Method in class org.apache.tomcat.jdbc.pool.interceptor.QueryTimeoutInterceptor
Initializes the queryTimeout property from the provided configuration map.
setProperties(Map) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Configures this interceptor from the given properties map, supporting threshold, maxQueries, logSlow, and logFailed settings.
setProperties(Map) - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Sets the interceptor properties, including the notifyPool flag.
setProperties(Map) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
 
setProperties(Map) - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
 
setProperties(Map) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Called during the creation of an interceptor The properties can be set during the configuration of an interceptor Override this method to perform type casts between string values and object properties
setRemoveAbandoned(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setRemoveAbandoned(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setRemoveAbandoned(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
boolean flag to remove abandoned connections if they exceed the removeAbandonedTimeout.
setRemoveAbandoned(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setRemoveAbandonedTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setRemoveAbandonedTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setRemoveAbandonedTimeout(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The time in seconds before a connection can be considered abandoned.
setRemoveAbandonedTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setRollbackOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setRollbackOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setRollbackOnReturn(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if you want the connection pool to rollback any pending transaction when a connection is returned.
setRollbackOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setStackTrace(String) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
The pool will set the stack trace when it is check out and checked in
setSuspect(boolean) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Sets the suspect flag for this connection.
setSuspectTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setSuspectTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setSuspectTimeout(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Similar to PoolConfiguration.setRemoveAbandonedTimeout(int) but instead of treating the connection as abandoned, and potentially closing the connection, this simply logs the warning if PoolConfiguration.isLogAbandoned() returns true.
setSuspectTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setTestOnBorrow(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setTestOnBorrow(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setTestOnBorrow(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The indication of whether objects will be validated before being borrowed from the pool.
setTestOnBorrow(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setTestOnConnect(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setTestOnConnect(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setTestOnConnect(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if we should run the validation query when connecting to the database for the first time on a connection.
setTestOnConnect(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setTestOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setTestOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setTestOnReturn(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The indication of whether objects will be validated after being returned to the pool.
setTestOnReturn(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setTestWhileIdle(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setTestWhileIdle(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setTestWhileIdle(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if query validation should take place while the connection is idle.
setTestWhileIdle(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setThreshold(long) - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
Sets the query measurement threshold.
setTimeBetweenEvictionRunsMillis(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setTimeBetweenEvictionRunsMillis(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setTimeBetweenEvictionRunsMillis(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The number of milliseconds to sleep between runs of the idle connection validation, abandoned cleaner and idle pool resizing.
setTimeBetweenEvictionRunsMillis(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setTimestamp(long) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Sets a timestamp on this connection.
setupConnection(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
configures a pooled connection as a proxy.
setUrl(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setUrl(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setUrl(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Sets the URL used to connect to the database
setUrl(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setUseDisposableConnectionFacade(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect.
setUseDisposableConnectionFacade(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect.
setUseDisposableConnectionFacade(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect. Setting it to false used to hand out connection handles that stayed usable, or worse, able to return and drive the connection of a later borrower.
setUseDisposableConnectionFacade(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Deprecated.
The disposable connection facade is always used, so this property no longer has any effect.
setUseEquals(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setUseEquals(boolean) - Method in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Set to true if string comparisons (for the JdbcInterceptor.compare(String, Method) and JdbcInterceptor.compare(String, String) methods) should use the Object.equals(Object) method The default is false
setUseEquals(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setUseEquals(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if you wish the ProxyConnection class to use String.equals instead of == when comparing method names.
setUseEquals(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setUseLock(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setUseLock(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setUseLock(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set to true if a lock should be used when operations are performed on the connection object.
setUseLock(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setUsername(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Sets the user name used to establish connections with, and mirrors it into the user database property.
setUsername(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setUsername(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Sets the username used to establish the connection with It will also be a property called 'user' in the database properties.
setUsername(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setUseStatementFacade(boolean) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Deprecated.
The statement facade is always used, so this property no longer has any effect.
setUseStatementFacade(boolean) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
Deprecated.
The statement facade is always used, so this property no longer has any effect.
setUseStatementFacade(boolean) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Deprecated.
The statement facade is always used, so this property no longer has any effect. Setting it to false used to leave statement and result set handles usable after the borrow they came from had ended, so a handle kept by the application could go on executing on the session the next borrower held, and Statement.getConnection() returned the driver's own connection, which survives the borrow and bypasses every configured interceptor.
setUseStatementFacade(boolean) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
Deprecated.
The statement facade is always used, so this property no longer has any effect.
setValidationInterval(long) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setValidationInterval(long) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setValidationInterval(long) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
avoid excess validation, only run validation at most at this frequency - time in milliseconds.
setValidationInterval(long) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setValidationQuery(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setValidationQuery(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setValidationQuery(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The SQL query that will be used to validate connections from this pool before returning them to the caller or pool.
setValidationQuery(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setValidationQueryTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setValidationQueryTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setValidationQueryTimeout(int) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
The timeout in seconds before a connection validation queries fail.
setValidationQueryTimeout(int) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setValidator(Validator) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setValidator(Validator) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setValidator(Validator) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Sets the validator object If this is a non null object, it will be used as a validator instead of the validationQuery If this is null, remove the usage of the validator.
setValidator(Validator) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
setValidatorClassName(String) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
setValidatorClassName(String) - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
setValidatorClassName(String) - Method in interface org.apache.tomcat.jdbc.pool.PoolConfiguration
Set the name for an optional validator class which will be used in place of test queries.
setValidatorClassName(String) - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
shouldAbandon() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Determines if a connection should be abandoned based on PoolProperties.abandonWhenPercentageFull setting.
shouldClose(PooledConnection, int) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Determines if a connection should be closed upon return to the pool.
shouldForceReconnect(String, String) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns true if we must force reconnect based on credentials passed in.
shouldReleaseIdle(long, PooledConnection, long) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Determines whether an idle connection should be released from the pool.
size() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
sleepTime - Variable in class org.apache.tomcat.jdbc.pool.ConnectionPool.PoolCleaner
Sleep interval in milliseconds between cleaner runs.
SLOW_QUERY_NOTIFICATION - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Notification type for slow query events.
SLOW_QUERY_NOTIFICATION - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when the SlowQueryReportJmx interceptor reports a query that took longer than its configured threshold.
SLOW_QUERY_TYPE - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Composite type used for JMX query statistics data.
SlowQueryReport - Class in org.apache.tomcat.jdbc.pool.interceptor
Slow query report interceptor.
SlowQueryReport() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport
Creates a slow query report interceptor
SlowQueryReport.PoolStatistics - Class in org.apache.tomcat.jdbc.pool.interceptor
The query statistics published under one pool name, together with the live pools registered for that name.
SlowQueryReport.QueryStats - Class in org.apache.tomcat.jdbc.pool.interceptor
Holds timing and invocation statistics for a single SQL query.
SlowQueryReport.QueryStatsComparator - Class in org.apache.tomcat.jdbc.pool.interceptor
Compares QueryStats by their lastInvocation value.
SlowQueryReportJmx - Class in org.apache.tomcat.jdbc.pool.interceptor
JMX-enabled slow query report interceptor.
SlowQueryReportJmx() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx
Creates a new SlowQueryReportJmx instance.
SlowQueryReportJmxMBean - Interface in org.apache.tomcat.jdbc.pool.interceptor
JMX MBean interface for exposing slow query statistics via JMX.
start() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.PoolCleaner
Starts the pool cleaner by registering it with the shared timer.
STATEMENT_CACHE_ATTR - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Attribute key for storing the statement cache in connection attributes.
STATEMENT_TYPE_COUNT - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
STATEMENT_TYPES - Static variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractCreateStatementInterceptor
Array of statement type method names
StatementCache - Class in org.apache.tomcat.jdbc.pool.interceptor
Interceptor that caches PreparedStatement and/or CallableStatement instances on a connection.
StatementCache() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementCache
Default constructor.
StatementCache.CachedStatement - Class in org.apache.tomcat.jdbc.pool.interceptor
Proxy for a cached prepared statement.
StatementCacheMBean - Interface in org.apache.tomcat.jdbc.pool.interceptor
MBean interface for monitoring the statement cache.
StatementDecoratorInterceptor - Class in org.apache.tomcat.jdbc.pool.interceptor
Implementation of JdbcInterceptor that proxies resultSets and statements.
StatementDecoratorInterceptor() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor
Default constructor.
StatementDecoratorInterceptor.ResultSetProxy - Class in org.apache.tomcat.jdbc.pool.interceptor
Invocation handler that proxies ResultSet instances.
StatementDecoratorInterceptor.StatementProxy<T> - Class in org.apache.tomcat.jdbc.pool.interceptor
Class to measure query execute time.
StatementEntry(Statement) - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer.StatementEntry
Creates a new StatementEntry.
StatementFacade - Class in org.apache.tomcat.jdbc.pool
Facade that creates statement and result set proxies.
StatementFacade(JdbcInterceptor) - Constructor for class org.apache.tomcat.jdbc.pool.StatementFacade
Constructs a StatementFacade.
StatementFacade.ResultSetProxy - Class in org.apache.tomcat.jdbc.pool
Proxy for a ResultSet.
StatementFacade.StatementProxy - Class in org.apache.tomcat.jdbc.pool
Proxy for a SQL statement used to measure query execute time.
StatementFinalizer - Class in org.apache.tomcat.jdbc.pool.interceptor
Keeps track of statements associated with a connection and invokes close upon Connection.close() Useful for applications that don't close the associated statements after being done with a connection.
StatementFinalizer() - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
Default constructor.
StatementFinalizer.CloseAwareProxy - Class in org.apache.tomcat.jdbc.pool.interceptor
Thin proxy around a tracked statement.
StatementFinalizer.StatementEntry - Class in org.apache.tomcat.jdbc.pool.interceptor
Entry that tracks a statement and its allocation stack.
StatementProxy(Object, String) - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
Constructs a new StatementProxy.
StatementProxy(Object, String, Object) - Constructor for class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
Constructs a StatementProxy.
StatementProxy(T, String) - Constructor for class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
Constructs a StatementProxy.
statements - Variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
Statements created on the associated connection that have not been closed yet.
statementsLock - Variable in class org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer
stopRunning() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool.PoolCleaner
Stops the pool cleaner by unregistering it from the shared timer.
suspect(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Thread safe way to suspect a connection.
SUSPECT_ABANDONED_NOTIFICATION - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when the pool marks a connection as suspect because it has been checked out longer than the suspect timeout and is therefore suspected of having been abandoned.
SUSPECT_RETURNED_NOTIFICATION - Static variable in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Notification type sent when a connection that the pool had marked as suspect is returned to the pool.

T

take() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
 
terminatePoolCleaner() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Stops the pool cleaner (evicter) thread if it is currently running and forgets its reference.
terminateTransaction(PooledConnection) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Terminate the current transaction for the given connection.
testAllIdle() - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Forces a validation of all idle connections if PoolProperties.testWhileIdle is set.
testAllIdle(boolean) - Method in class org.apache.tomcat.jdbc.pool.ConnectionPool
Forces a validation of all idle connections if PoolProperties.testWhileIdle is set.
testIdle() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Performs a validation on idle connections.
testIdle() - Method in class org.apache.tomcat.jdbc.pool.jmx.ConnectionPool
 
testIdle() - Method in interface org.apache.tomcat.jdbc.pool.jmx.ConnectionPoolMBean
Validates all idle connections in the pool.
threshold - Variable in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport
The threshold in milliseconds.
toArray() - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
toArray(T[]) - Method in class org.apache.tomcat.jdbc.pool.FairBlockingQueue
toString() - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
 
toString() - Method in class org.apache.tomcat.jdbc.pool.interceptor.AbstractQueryReport.StatementProxy
 
toString() - Method in class org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReport.QueryStats
 
toString() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.ResultSetProxy
 
toString() - Method in class org.apache.tomcat.jdbc.pool.interceptor.StatementDecoratorInterceptor.StatementProxy
 
toString() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
 
toString() - Method in class org.apache.tomcat.jdbc.pool.PoolProperties
 
toString() - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
 
toString() - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.ResultSetProxy
 
toString() - Method in class org.apache.tomcat.jdbc.pool.StatementFacade.StatementProxy
 
TOSTRING_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor
Object.toString() method name
transactionIsolation - Variable in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Cached transaction isolation level of the connection.
TrapException - Class in org.apache.tomcat.jdbc.pool
Interceptor that traps any unhandled exception types and throws an exception that has been declared by the method called, or throw an SQLException if it is declared.
TrapException() - Constructor for class org.apache.tomcat.jdbc.pool.TrapException
Constructs a new TrapException interceptor.

U

UNKNOWN_TRANSACTIONISOLATION - Static variable in class org.apache.tomcat.jdbc.pool.DataSourceFactory
Value indicating an unknown transaction isolation level.
unlock() - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Unlocks the connection if, and only if, this thread currently holds the lock.
unregisterJmx(ObjectName) - Method in class org.apache.tomcat.jdbc.pool.DataSource
Unregisters the ConnectionPoolMBean published under the given name.
unregisterJmx(ObjectName) - Static method in class org.apache.tomcat.jdbc.pool.jmx.JmxUtil
Unregister an MBean.
unwrap(Class) - Method in class org.apache.tomcat.jdbc.pool.ProxyConnection
Unwraps the connection to the given interface.
unwrap(Class) - Method in class org.apache.tomcat.jdbc.pool.DataSourceProxy
Unwrap the proxy to the given interface.
UNWRAP_VAL - Static variable in class org.apache.tomcat.jdbc.pool.JdbcInterceptor

V

validate(int) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Returns true if the object is still valid. if not the pool will call the getExpiredAction() and follow up with one of the four expired methods
validate(int, String) - Method in class org.apache.tomcat.jdbc.pool.PooledConnection
Validates a connection.
validate(Connection, int) - Method in interface org.apache.tomcat.jdbc.pool.Validator
Validate a connection and return a boolean to indicate if it's valid.
VALIDATE_BORROW - Static variable in class org.apache.tomcat.jdbc.pool.PooledConnection
Validate when connection is borrowed flag
VALIDATE_IDLE - Static variable in class org.apache.tomcat.jdbc.pool.PooledConnection
Validate when connection is idle flag
VALIDATE_INIT - Static variable in class org.apache.tomcat.jdbc.pool.PooledConnection
Validate when connection is initialized flag
VALIDATE_RETURN - Static variable in class org.apache.tomcat.jdbc.pool.PooledConnection
Validate when connection is returned flag
Validator - Interface in org.apache.tomcat.jdbc.pool
Interface to be implemented by custom validator classes.

W

writeState - Variable in class org.apache.tomcat.jdbc.pool.interceptor.ConnectionState
Method names for writing connection state.

X

xaConnection - Variable in class org.apache.tomcat.jdbc.pool.PooledConnection
If using a XAConnection underneath.
XADataSource - Class in org.apache.tomcat.jdbc.pool
XA-enabled data source for distributed transaction support.
XADataSource() - Constructor for class org.apache.tomcat.jdbc.pool.XADataSource
Constructor for reflection only.
XADataSource(PoolConfiguration) - Constructor for class org.apache.tomcat.jdbc.pool.XADataSource
Constructs a DataSource object wrapping a connection
A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form