Package com.mchange.v2.c3p0
-
Interface Summary Interface Description C3P0ProxyConnection Most clients need never use or know about this interface -- c3p0-provided Connections can be treated like any other Connection.C3P0ProxyStatement Most clients need never use or know about this interface -- c3p0-provided Statements can be treated like any other Statement.ConnectionCustomizer Implementations of this interface should be immutable, and should offer public, no argument constructors.ConnectionTester Define your own Connection tester if you want to override c3p0's default behavior for testing the validity of Connections and responding to Connection errors encountered.FullQueryConnectionTester PooledDataSource Most clients need never use or know about this interface -- c3p0 pooled DataSources can be treated like any other DataSource.QueryConnectionTester TaskRunnerFactory A TaskRunnerFactory should be an immutable class with a public, no-arg constructor, and implement equals and hashCode methods to help support canonicalization.UnifiedConnectionTester Having expanded the once-simple ConnectionTester interface to support both user-specified queries and return of root cause Exceptions (via an out-param), this interface has grown unnecessarily complex. -
Class Summary Class Description AbstractComboPooledDataSource For the meaning of most of these properties, please see c3p0's top-level documentation!AbstractConnectionCustomizer An abstract implementation of the ConnectionCustomizer interface in which all methods are no-ops.AbstractConnectionTester Having expanded the once-simple ConnectionTester interface to support both user-specified queries and return of root cause Exceptions (via an out-param), this interface has grown unnecessarily complex.AbstractExecutorTaskRunnerFactory C3P0Registry ComboPooledDataSource For the meaning of most of these properties, please see c3p0's top-level documentation!DataSources A simple factory class for creating DataSources.DriverManagerDataSource DriverManagerDataSourceFactory Deprecated. Use the new factories inDataSources
.FixedThreadPoolExecutorTaskRunnerFactory This implementation supports all relevant config, includingnumHelperThreads
,maxAdministrativeTaskTime
,contextClassLoaderSource
, andprivilegeSpawnedThreads
.JndiRefConnectionPoolDataSource PoolBackedDataSource PoolBackedDataSourceFactory Deprecated. Use the new factories inDataSources
.SQLWarnings TaskRunnerInit All fields will always be supplied from configuration and calling code, the "if supported" stuff is just a reminder that TaskRunner implementations need not and may not support the provided config.TaskRunnerThreadFactory WrapperConnectionPoolDataSource