public abstract class AbstractComboPooledDataSource extends AbstractPoolBackedDataSource implements PooledDataSource, java.io.Serializable, javax.naming.Referenceable
For the meaning of most of these properties, please see c3p0's top-level documentation!
pcs, vcs
Constructor and Description |
---|
AbstractComboPooledDataSource() |
AbstractComboPooledDataSource(boolean autoregister) |
AbstractComboPooledDataSource(java.lang.String configName) |
Modifier and Type | Method and Description |
---|---|
int |
getAcquireIncrement() |
int |
getAcquireRetryAttempts() |
int |
getAcquireRetryDelay() |
java.lang.String |
getAutomaticTestTable() |
int |
getCheckoutTimeout() |
java.lang.String |
getConnectionCustomizerClassName() |
java.lang.String |
getConnectionTesterClassName() |
java.lang.String |
getContextClassLoaderSource() |
java.lang.String |
getDescription() |
java.lang.String |
getDriverClass() |
java.lang.String |
getFactoryClassLocation() |
int |
getIdleConnectionTestPeriod() |
int |
getInitialPoolSize() |
java.lang.String |
getJdbcUrl() |
int |
getMaxAdministrativeTaskTime() |
int |
getMaxConnectionAge() |
int |
getMaxIdleTime() |
int |
getMaxIdleTimeExcessConnections() |
int |
getMaxPoolSize() |
int |
getMaxStatements() |
int |
getMaxStatementsPerConnection() |
int |
getMinPoolSize() |
java.lang.String |
getOverrideDefaultPassword() |
java.lang.String |
getOverrideDefaultUser() |
java.lang.String |
getPassword() |
java.lang.String |
getPreferredTestQuery() |
java.util.Properties |
getProperties() |
int |
getPropertyCycle() |
int |
getStatementCacheNumDeferredCloseThreads() |
int |
getUnreturnedConnectionTimeout() |
java.lang.String |
getUser() |
java.util.Map |
getUserOverrides() |
java.lang.String |
getUserOverridesAsString() |
boolean |
isAutoCommitOnClose() |
boolean |
isBreakAfterAcquireFailure() |
boolean |
isDebugUnreturnedConnectionStackTraces() |
boolean |
isForceIgnoreUnresolvedTransactions() |
boolean |
isForceUseNamedDriverClass() |
boolean |
isPrivilegeSpawnedThreads() |
boolean |
isTestConnectionOnCheckin() |
boolean |
isTestConnectionOnCheckout() |
boolean |
isUsesTraditionalReflectiveProxies() |
boolean |
isWrapperFor(java.lang.Class<?> iface) |
void |
setAcquireIncrement(int acquireIncrement) |
void |
setAcquireRetryAttempts(int acquireRetryAttempts) |
void |
setAcquireRetryDelay(int acquireRetryDelay) |
void |
setAutoCommitOnClose(boolean autoCommitOnClose) |
void |
setAutomaticTestTable(java.lang.String automaticTestTable) |
void |
setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) |
void |
setCheckoutTimeout(int checkoutTimeout) |
void |
setConnectionCustomizerClassName(java.lang.String connectionCustomizerClassName) |
void |
setConnectionTesterClassName(java.lang.String connectionTesterClassName) |
void |
setContextClassLoaderSource(java.lang.String contextClassLoaderSource) |
void |
setDebugUnreturnedConnectionStackTraces(boolean debugUnreturnedConnectionStackTraces) |
void |
setDescription(java.lang.String description) |
void |
setDriverClass(java.lang.String driverClass) |
void |
setFactoryClassLocation(java.lang.String factoryClassLocation) |
void |
setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) |
void |
setForceUseNamedDriverClass(boolean forceUseNamedDriverClass) |
void |
setIdleConnectionTestPeriod(int idleConnectionTestPeriod) |
void |
setInitialPoolSize(int initialPoolSize) |
void |
setJdbcUrl(java.lang.String jdbcUrl) |
void |
setMaxAdministrativeTaskTime(int maxAdministrativeTaskTime) |
void |
setMaxConnectionAge(int maxConnectionAge) |
void |
setMaxIdleTime(int maxIdleTime) |
void |
setMaxIdleTimeExcessConnections(int maxIdleTimeExcessConnections) |
void |
setMaxPoolSize(int maxPoolSize) |
void |
setMaxStatements(int maxStatements) |
void |
setMaxStatementsPerConnection(int maxStatementsPerConnection) |
void |
setMinPoolSize(int minPoolSize) |
void |
setOverrideDefaultPassword(java.lang.String overrideDefaultPassword) |
void |
setOverrideDefaultUser(java.lang.String overrideDefaultUser) |
void |
setPassword(java.lang.String password) |
void |
setPreferredTestQuery(java.lang.String preferredTestQuery) |
void |
setPrivilegeSpawnedThreads(boolean privilegeSpawnedThreads) |
void |
setProperties(java.util.Properties properties) |
void |
setPropertyCycle(int propertyCycle) |
void |
setStatementCacheNumDeferredCloseThreads(int statementCacheNumDeferredCloseThreads) |
void |
setTestConnectionOnCheckin(boolean testConnectionOnCheckin) |
void |
setTestConnectionOnCheckout(boolean testConnectionOnCheckout) |
void |
setUnreturnedConnectionTimeout(int unreturnedConnectionTimeout) |
void |
setUser(java.lang.String user) |
void |
setUserOverridesAsString(java.lang.String uoas) |
void |
setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) |
java.lang.String |
toString() |
<T> T |
unwrap(java.lang.Class<T> iface) |
close, close, getAllUsers, getConnection, getConnection, getDataSourceName, getEffectivePropertyCycle, getEffectivePropertyCycleDefaultUser, getLastAcquisitionFailure, getLastAcquisitionFailureDefaultUser, getLastCheckinFailure, getLastCheckinFailureDefaultUser, getLastCheckoutFailure, getLastCheckoutFailureDefaultUser, getLastConnectionTestFailure, getLastConnectionTestFailureDefaultUser, getLastIdleTestFailure, getLastIdleTestFailureDefaultUser, getLoginTimeout, getLogWriter, getNumBusyConnections, getNumBusyConnections, getNumBusyConnectionsAllUsers, getNumBusyConnectionsDefaultUser, getNumConnections, getNumConnections, getNumConnectionsAllUsers, getNumConnectionsDefaultUser, getNumFailedCheckins, getNumFailedCheckinsDefaultUser, getNumFailedCheckouts, getNumFailedCheckoutsDefaultUser, getNumFailedIdleTests, getNumFailedIdleTestsDefaultUser, getNumIdleConnections, getNumIdleConnections, getNumIdleConnectionsAllUsers, getNumIdleConnectionsDefaultUser, getNumThreadsAwaitingCheckout, getNumThreadsAwaitingCheckoutDefaultUser, getNumUnclosedOrphanedConnections, getNumUnclosedOrphanedConnections, getNumUnclosedOrphanedConnectionsAllUsers, getNumUnclosedOrphanedConnectionsDefaultUser, getNumUserPools, getStartTimeMillis, getStartTimeMillisDefaultUser, getStatementCacheNumCheckedOut, getStatementCacheNumCheckedOutDefaultUser, getStatementCacheNumCheckedOutStatementsAllUsers, getStatementCacheNumConnectionsWithCachedStatements, getStatementCacheNumConnectionsWithCachedStatementsAllUsers, getStatementCacheNumConnectionsWithCachedStatementsDefaultUser, getStatementCacheNumStatements, getStatementCacheNumStatementsAllUsers, getStatementCacheNumStatementsDefaultUser, getStatementDestroyerNumActiveThreads, getStatementDestroyerNumConnectionsInUse, getStatementDestroyerNumConnectionsInUseAllUsers, getStatementDestroyerNumConnectionsInUseDefaultUser, getStatementDestroyerNumConnectionsWithDeferredDestroyStatements, getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers, getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsDefaultUser, getStatementDestroyerNumDeferredDestroyStatements, getStatementDestroyerNumDeferredDestroyStatementsAllUsers, getStatementDestroyerNumDeferredDestroyStatementsDefaultUser, getStatementDestroyerNumIdleThreads, getStatementDestroyerNumTasksPending, getStatementDestroyerNumThreads, getThreadPoolNumActiveThreads, getThreadPoolNumIdleThreads, getThreadPoolNumTasksPending, getThreadPoolSize, getUpTimeMillis, getUpTimeMillisDefaultUser, hardReset, initializeNamedConfig, resetPoolManager, resetPoolManager, sampleLastAcquisitionFailureStackTrace, sampleLastAcquisitionFailureStackTraceDefaultUser, sampleLastCheckinFailureStackTrace, sampleLastCheckinFailureStackTraceDefaultUser, sampleLastCheckoutFailureStackTrace, sampleLastCheckoutFailureStackTraceDefaultUser, sampleLastConnectionTestFailureStackTrace, sampleLastConnectionTestFailureStackTraceDefaultUser, sampleLastIdleTestFailureStackTrace, sampleLastIdleTestFailureStackTraceDefaultUser, sampleStatementCacheStatus, sampleStatementCacheStatusDefaultUser, sampleStatementDestroyerStackTraces, sampleStatementDestroyerStatus, sampleThreadPoolStackTraces, sampleThreadPoolStatus, setLoginTimeout, setLogWriter, softReset, softResetAllUsers, softResetDefaultUser
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, extraToStringInfo, getConnectionPoolDataSource, getExtensions, getIdentityToken, getNumHelperThreads, getParentLogger, getPropertyChangeListeners, getPropertyChangeSupport, getReference, getVetoableChangeListeners, getVetoableChangeSupport, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, setConnectionPoolDataSource, setDataSourceName, setExtensions, setIdentityToken, setNumHelperThreads
doResolve, readResolve, verifyResolve
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
close, close, getAllUsers, getDataSourceName, getEffectivePropertyCycle, getEffectivePropertyCycleDefaultUser, getExtensions, getIdentityToken, getLastAcquisitionFailure, getLastAcquisitionFailureDefaultUser, getLastCheckinFailure, getLastCheckinFailureDefaultUser, getLastCheckoutFailure, getLastCheckoutFailureDefaultUser, getLastConnectionTestFailure, getLastConnectionTestFailureDefaultUser, getLastIdleTestFailure, getLastIdleTestFailureDefaultUser, getNumBusyConnections, getNumBusyConnections, getNumBusyConnectionsAllUsers, getNumBusyConnectionsDefaultUser, getNumConnections, getNumConnections, getNumConnectionsAllUsers, getNumConnectionsDefaultUser, getNumFailedCheckinsDefaultUser, getNumFailedCheckoutsDefaultUser, getNumFailedIdleTestsDefaultUser, getNumHelperThreads, getNumIdleConnections, getNumIdleConnections, getNumIdleConnectionsAllUsers, getNumIdleConnectionsDefaultUser, getNumThreadsAwaitingCheckout, getNumThreadsAwaitingCheckoutDefaultUser, getNumUnclosedOrphanedConnections, getNumUnclosedOrphanedConnections, getNumUnclosedOrphanedConnectionsAllUsers, getNumUnclosedOrphanedConnectionsDefaultUser, getNumUserPools, getStartTimeMillisDefaultUser, getStatementCacheNumCheckedOut, getStatementCacheNumCheckedOutDefaultUser, getStatementCacheNumCheckedOutStatementsAllUsers, getStatementCacheNumConnectionsWithCachedStatements, getStatementCacheNumConnectionsWithCachedStatementsAllUsers, getStatementCacheNumConnectionsWithCachedStatementsDefaultUser, getStatementCacheNumStatements, getStatementCacheNumStatementsAllUsers, getStatementCacheNumStatementsDefaultUser, getStatementDestroyerNumActiveThreads, getStatementDestroyerNumConnectionsInUse, getStatementDestroyerNumConnectionsInUseAllUsers, getStatementDestroyerNumConnectionsInUseDefaultUser, getStatementDestroyerNumConnectionsWithDeferredDestroyStatements, getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsAllUsers, getStatementDestroyerNumConnectionsWithDeferredDestroyStatementsDefaultUser, getStatementDestroyerNumDeferredDestroyStatements, getStatementDestroyerNumDeferredDestroyStatementsAllUsers, getStatementDestroyerNumDeferredDestroyStatementsDefaultUser, getStatementDestroyerNumIdleThreads, getStatementDestroyerNumTasksPending, getStatementDestroyerNumThreads, getThreadPoolNumActiveThreads, getThreadPoolNumIdleThreads, getThreadPoolNumTasksPending, getThreadPoolSize, getUpTimeMillisDefaultUser, hardReset, sampleLastAcquisitionFailureStackTrace, sampleLastAcquisitionFailureStackTraceDefaultUser, sampleLastCheckinFailureStackTrace, sampleLastCheckinFailureStackTraceDefaultUser, sampleLastCheckoutFailureStackTrace, sampleLastCheckoutFailureStackTraceDefaultUser, sampleLastConnectionTestFailureStackTrace, sampleLastConnectionTestFailureStackTraceDefaultUser, sampleLastIdleTestFailureStackTrace, sampleLastIdleTestFailureStackTraceDefaultUser, sampleStatementCacheStatus, sampleStatementCacheStatusDefaultUser, sampleStatementDestroyerStackTraces, sampleStatementDestroyerStatus, sampleThreadPoolStackTraces, sampleThreadPoolStatus, setDataSourceName, setExtensions, softReset, softResetAllUsers, softResetDefaultUser
public AbstractComboPooledDataSource()
public AbstractComboPooledDataSource(boolean autoregister)
public AbstractComboPooledDataSource(java.lang.String configName)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getDriverClass()
public void setDriverClass(java.lang.String driverClass) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public boolean isForceUseNamedDriverClass()
public void setForceUseNamedDriverClass(boolean forceUseNamedDriverClass)
public java.lang.String getJdbcUrl()
public void setJdbcUrl(java.lang.String jdbcUrl)
public java.util.Properties getProperties()
public void setProperties(java.util.Properties properties)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public int getCheckoutTimeout()
public void setCheckoutTimeout(int checkoutTimeout)
public int getAcquireIncrement()
public void setAcquireIncrement(int acquireIncrement)
public int getAcquireRetryAttempts()
public void setAcquireRetryAttempts(int acquireRetryAttempts)
public int getAcquireRetryDelay()
public void setAcquireRetryDelay(int acquireRetryDelay)
public boolean isAutoCommitOnClose()
public void setAutoCommitOnClose(boolean autoCommitOnClose)
public java.lang.String getContextClassLoaderSource()
public void setContextClassLoaderSource(java.lang.String contextClassLoaderSource) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public java.lang.String getConnectionTesterClassName()
public void setConnectionTesterClassName(java.lang.String connectionTesterClassName) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public java.lang.String getAutomaticTestTable()
public void setAutomaticTestTable(java.lang.String automaticTestTable)
public boolean isForceIgnoreUnresolvedTransactions()
public void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions)
public boolean isPrivilegeSpawnedThreads()
public void setPrivilegeSpawnedThreads(boolean privilegeSpawnedThreads)
public int getIdleConnectionTestPeriod()
public void setIdleConnectionTestPeriod(int idleConnectionTestPeriod)
public int getInitialPoolSize()
public void setInitialPoolSize(int initialPoolSize)
public int getMaxIdleTime()
public void setMaxIdleTime(int maxIdleTime)
public int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize)
public int getMaxStatements()
public void setMaxStatements(int maxStatements)
public int getMaxStatementsPerConnection()
public void setMaxStatementsPerConnection(int maxStatementsPerConnection)
public int getMinPoolSize()
public void setMinPoolSize(int minPoolSize)
public java.lang.String getOverrideDefaultUser()
public void setOverrideDefaultUser(java.lang.String overrideDefaultUser)
public java.lang.String getOverrideDefaultPassword()
public void setOverrideDefaultPassword(java.lang.String overrideDefaultPassword)
public int getPropertyCycle()
public void setPropertyCycle(int propertyCycle)
public boolean isBreakAfterAcquireFailure()
public void setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure)
public boolean isTestConnectionOnCheckout()
public void setTestConnectionOnCheckout(boolean testConnectionOnCheckout)
public boolean isTestConnectionOnCheckin()
public void setTestConnectionOnCheckin(boolean testConnectionOnCheckin)
public boolean isUsesTraditionalReflectiveProxies()
public void setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies)
public java.lang.String getPreferredTestQuery()
public void setPreferredTestQuery(java.lang.String preferredTestQuery)
public int getMaxAdministrativeTaskTime()
public void setMaxAdministrativeTaskTime(int maxAdministrativeTaskTime)
public int getMaxIdleTimeExcessConnections()
public void setMaxIdleTimeExcessConnections(int maxIdleTimeExcessConnections)
public int getMaxConnectionAge()
public void setMaxConnectionAge(int maxConnectionAge)
public java.lang.String getConnectionCustomizerClassName()
public void setConnectionCustomizerClassName(java.lang.String connectionCustomizerClassName)
public int getUnreturnedConnectionTimeout()
public void setUnreturnedConnectionTimeout(int unreturnedConnectionTimeout)
public java.lang.String getUserOverridesAsString()
public void setUserOverridesAsString(java.lang.String uoas) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public java.util.Map getUserOverrides()
public boolean isDebugUnreturnedConnectionStackTraces()
public void setDebugUnreturnedConnectionStackTraces(boolean debugUnreturnedConnectionStackTraces)
public int getStatementCacheNumDeferredCloseThreads()
public void setStatementCacheNumDeferredCloseThreads(int statementCacheNumDeferredCloseThreads)
public java.lang.String getFactoryClassLocation()
getFactoryClassLocation
in class PoolBackedDataSourceBase
public void setFactoryClassLocation(java.lang.String factoryClassLocation)
setFactoryClassLocation
in class PoolBackedDataSourceBase
public java.lang.String toString()
toString
in class PoolBackedDataSourceBase
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
isWrapperFor
in class AbstractPoolBackedDataSource
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
unwrap
in class AbstractPoolBackedDataSource
java.sql.SQLException