public final class CloseLoggingComboPooledDataSource extends AbstractComboPooledDataSource implements 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 |
---|
CloseLoggingComboPooledDataSource() |
CloseLoggingComboPooledDataSource(boolean autoregister) |
CloseLoggingComboPooledDataSource(java.lang.String configName) |
Modifier and Type | Method and Description |
---|---|
com.mchange.v2.log.MLevel |
getCloseLogLevel() |
java.sql.Connection |
getConnection() |
java.sql.Connection |
getConnection(java.lang.String user,
java.lang.String password) |
void |
setCloseLogLevel(com.mchange.v2.log.MLevel level) |
getAcquireIncrement, getAcquireRetryAttempts, getAcquireRetryDelay, getAutomaticTestTable, getCheckoutTimeout, getConnectionCustomizerClassName, getConnectionTesterClassName, getContextClassLoaderSource, getDescription, getDriverClass, getFactoryClassLocation, getIdleConnectionTestPeriod, getInitialPoolSize, getJdbcUrl, getMaxAdministrativeTaskTime, getMaxConnectionAge, getMaxIdleTime, getMaxIdleTimeExcessConnections, getMaxPoolSize, getMaxStatements, getMaxStatementsPerConnection, getMinPoolSize, getOverrideDefaultPassword, getOverrideDefaultUser, getPassword, getPreferredTestQuery, getProperties, getPropertyCycle, getStatementCacheNumDeferredCloseThreads, getUnreturnedConnectionTimeout, getUser, getUserOverrides, getUserOverridesAsString, isAutoCommitOnClose, isBreakAfterAcquireFailure, isDebugUnreturnedConnectionStackTraces, isForceIgnoreUnresolvedTransactions, isPrivilegeSpawnedThreads, isTestConnectionOnCheckin, isTestConnectionOnCheckout, isUsesTraditionalReflectiveProxies, isWrapperFor, setAcquireIncrement, setAcquireRetryAttempts, setAcquireRetryDelay, setAutoCommitOnClose, setAutomaticTestTable, setBreakAfterAcquireFailure, setCheckoutTimeout, setConnectionCustomizerClassName, setConnectionTesterClassName, setContextClassLoaderSource, setDebugUnreturnedConnectionStackTraces, setDescription, setDriverClass, setFactoryClassLocation, setForceIgnoreUnresolvedTransactions, setIdleConnectionTestPeriod, setInitialPoolSize, setJdbcUrl, setMaxAdministrativeTaskTime, setMaxConnectionAge, setMaxIdleTime, setMaxIdleTimeExcessConnections, setMaxPoolSize, setMaxStatements, setMaxStatementsPerConnection, setMinPoolSize, setOverrideDefaultPassword, setOverrideDefaultUser, setPassword, setPreferredTestQuery, setPrivilegeSpawnedThreads, setProperties, setPropertyCycle, setStatementCacheNumDeferredCloseThreads, setTestConnectionOnCheckin, setTestConnectionOnCheckout, setUnreturnedConnectionTimeout, setUser, setUserOverridesAsString, setUsesTraditionalReflectiveProxies, toString, unwrap
close, close, getAllUsers, 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 CloseLoggingComboPooledDataSource()
public CloseLoggingComboPooledDataSource(boolean autoregister)
public CloseLoggingComboPooledDataSource(java.lang.String configName)
public void setCloseLogLevel(com.mchange.v2.log.MLevel level)
public com.mchange.v2.log.MLevel getCloseLogLevel()
public java.sql.Connection getConnection() throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
getConnection
in class AbstractPoolBackedDataSource
java.sql.SQLException
public java.sql.Connection getConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getConnection
in interface javax.sql.DataSource
getConnection
in class AbstractPoolBackedDataSource
java.sql.SQLException