Package com.mchange.v2.c3p0.mbean
Class C3P0PooledDataSource
java.lang.Object
com.mchange.v2.c3p0.mbean.C3P0PooledDataSource
- All Implemented Interfaces:
C3P0PooledDataSourceMBean
Deprecated.
Please use com.mchange.v2.c3p0.jboss.C3P0PooledDataSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.voidcreate()Deprecated.voiddestroy()Deprecated.intDeprecated.intDeprecated.intDeprecated.Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.intDeprecated.Deprecated.Deprecated.intDeprecated.intDeprecated.intDeprecated.intDeprecated.intDeprecated.intgetNumBusyConnections(String username, String password) Deprecated.intDeprecated.intDeprecated.intgetNumConnections(String username, String password) Deprecated.intDeprecated.intDeprecated.intDeprecated.intgetNumIdleConnections(String username, String password) Deprecated.intDeprecated.intDeprecated.intgetNumUnclosedOrphanedConnections(String username, String password) Deprecated.intDeprecated.intDeprecated.intDeprecated.Deprecated.Deprecated.intDeprecated.getUser()Deprecated.voidDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidsetAcquireIncrement(int acquireIncrement) Deprecated.voidsetAcquireRetryAttempts(int acquireRetryAttempts) Deprecated.voidsetAcquireRetryDelay(int acquireRetryDelay) Deprecated.voidsetAutoCommitOnClose(boolean autoCommitOnClose) Deprecated.voidsetAutomaticTestTable(String automaticTestTable) Deprecated.voidsetBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) Deprecated.voidsetCheckoutTimeout(int checkoutTimeout) Deprecated.voidsetConnectionTesterClassName(String connectionTesterClassName) Deprecated.voidsetDataSourceName(String name) Deprecated.voidsetDescription(String description) Deprecated.voidsetDriverClass(String driverClass) Deprecated.voidsetFactoryClassLocation(String factoryClassLocation) Deprecated.voidsetForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) Deprecated.voidsetIdleConnectionTestPeriod(int idleConnectionTestPeriod) Deprecated.voidsetInitialPoolSize(int initialPoolSize) Deprecated.voidsetJdbcUrl(String jdbcUrl) Deprecated.voidsetJndiName(String jndiName) Deprecated.voidsetMaxIdleTime(int maxIdleTime) Deprecated.voidsetMaxPoolSize(int maxPoolSize) Deprecated.voidsetMaxStatements(int maxStatements) Deprecated.voidsetMaxStatementsPerConnection(int maxStatementsPerConnection) Deprecated.voidsetMinPoolSize(int minPoolSize) Deprecated.voidsetNumHelperThreads(int numHelperThreads) Deprecated.voidsetPassword(String password) Deprecated.voidsetPreferredTestQuery(String preferredTestQuery) Deprecated.voidsetPropertyCycle(int propertyCycle) Deprecated.voidsetTestConnectionOnCheckin(boolean testConnectionOnCheckin) Deprecated.voidsetTestConnectionOnCheckout(boolean testConnectionOnCheckout) Deprecated.voidDeprecated.voidsetUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidstart()Deprecated.voidstop()Deprecated.
-
Constructor Details
-
C3P0PooledDataSource
public C3P0PooledDataSource()Deprecated.
-
-
Method Details
-
setJndiName
Deprecated.- Specified by:
setJndiNamein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getJndiName
Deprecated.- Specified by:
getJndiNamein interfaceC3P0PooledDataSourceMBean
-
getDescription
Deprecated.- Specified by:
getDescriptionin interfaceC3P0PooledDataSourceMBean
-
setDescription
Deprecated.- Specified by:
setDescriptionin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getDriverClass
Deprecated.- Specified by:
getDriverClassin interfaceC3P0PooledDataSourceMBean
-
setDriverClass
Deprecated.- Specified by:
setDriverClassin interfaceC3P0PooledDataSourceMBean- Throws:
PropertyVetoExceptionNamingException
-
getJdbcUrl
Deprecated.- Specified by:
getJdbcUrlin interfaceC3P0PooledDataSourceMBean
-
setJdbcUrl
Deprecated.- Specified by:
setJdbcUrlin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getUser
Deprecated.- Specified by:
getUserin interfaceC3P0PooledDataSourceMBean
-
setUser
Deprecated.- Specified by:
setUserin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getPassword
Deprecated.- Specified by:
getPasswordin interfaceC3P0PooledDataSourceMBean
-
setPassword
Deprecated.- Specified by:
setPasswordin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getCheckoutTimeout
public int getCheckoutTimeout()Deprecated.- Specified by:
getCheckoutTimeoutin interfaceC3P0PooledDataSourceMBean
-
setCheckoutTimeout
Deprecated.- Specified by:
setCheckoutTimeoutin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getAcquireIncrement
public int getAcquireIncrement()Deprecated.- Specified by:
getAcquireIncrementin interfaceC3P0PooledDataSourceMBean
-
setAcquireIncrement
Deprecated.- Specified by:
setAcquireIncrementin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getAcquireRetryAttempts
public int getAcquireRetryAttempts()Deprecated.- Specified by:
getAcquireRetryAttemptsin interfaceC3P0PooledDataSourceMBean
-
setAcquireRetryAttempts
Deprecated.- Specified by:
setAcquireRetryAttemptsin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getAcquireRetryDelay
public int getAcquireRetryDelay()Deprecated.- Specified by:
getAcquireRetryDelayin interfaceC3P0PooledDataSourceMBean
-
setAcquireRetryDelay
Deprecated.- Specified by:
setAcquireRetryDelayin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
isAutoCommitOnClose
public boolean isAutoCommitOnClose()Deprecated.- Specified by:
isAutoCommitOnClosein interfaceC3P0PooledDataSourceMBean
-
setAutoCommitOnClose
Deprecated.- Specified by:
setAutoCommitOnClosein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getConnectionTesterClassName
Deprecated.- Specified by:
getConnectionTesterClassNamein interfaceC3P0PooledDataSourceMBean
-
setConnectionTesterClassName
public void setConnectionTesterClassName(String connectionTesterClassName) throws PropertyVetoException, NamingException Deprecated.- Specified by:
setConnectionTesterClassNamein interfaceC3P0PooledDataSourceMBean- Throws:
PropertyVetoExceptionNamingException
-
getAutomaticTestTable
Deprecated.- Specified by:
getAutomaticTestTablein interfaceC3P0PooledDataSourceMBean
-
setAutomaticTestTable
Deprecated.- Specified by:
setAutomaticTestTablein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
isForceIgnoreUnresolvedTransactions
public boolean isForceIgnoreUnresolvedTransactions()Deprecated.- Specified by:
isForceIgnoreUnresolvedTransactionsin interfaceC3P0PooledDataSourceMBean
-
setForceIgnoreUnresolvedTransactions
public void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws NamingException Deprecated.- Specified by:
setForceIgnoreUnresolvedTransactionsin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getIdleConnectionTestPeriod
public int getIdleConnectionTestPeriod()Deprecated.- Specified by:
getIdleConnectionTestPeriodin interfaceC3P0PooledDataSourceMBean
-
setIdleConnectionTestPeriod
Deprecated.- Specified by:
setIdleConnectionTestPeriodin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getInitialPoolSize
public int getInitialPoolSize()Deprecated.- Specified by:
getInitialPoolSizein interfaceC3P0PooledDataSourceMBean
-
setInitialPoolSize
Deprecated.- Specified by:
setInitialPoolSizein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getMaxIdleTime
public int getMaxIdleTime()Deprecated.- Specified by:
getMaxIdleTimein interfaceC3P0PooledDataSourceMBean
-
setMaxIdleTime
Deprecated.- Specified by:
setMaxIdleTimein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getMaxPoolSize
public int getMaxPoolSize()Deprecated.- Specified by:
getMaxPoolSizein interfaceC3P0PooledDataSourceMBean
-
setMaxPoolSize
Deprecated.- Specified by:
setMaxPoolSizein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getMaxStatements
public int getMaxStatements()Deprecated.- Specified by:
getMaxStatementsin interfaceC3P0PooledDataSourceMBean
-
setMaxStatements
Deprecated.- Specified by:
setMaxStatementsin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getMaxStatementsPerConnection
public int getMaxStatementsPerConnection()Deprecated.- Specified by:
getMaxStatementsPerConnectionin interfaceC3P0PooledDataSourceMBean
-
setMaxStatementsPerConnection
Deprecated.- Specified by:
setMaxStatementsPerConnectionin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getMinPoolSize
public int getMinPoolSize()Deprecated.- Specified by:
getMinPoolSizein interfaceC3P0PooledDataSourceMBean
-
setMinPoolSize
Deprecated.- Specified by:
setMinPoolSizein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getPropertyCycle
public int getPropertyCycle()Deprecated.- Specified by:
getPropertyCyclein interfaceC3P0PooledDataSourceMBean
-
setPropertyCycle
Deprecated.- Specified by:
setPropertyCyclein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
isBreakAfterAcquireFailure
public boolean isBreakAfterAcquireFailure()Deprecated.- Specified by:
isBreakAfterAcquireFailurein interfaceC3P0PooledDataSourceMBean
-
setBreakAfterAcquireFailure
Deprecated.- Specified by:
setBreakAfterAcquireFailurein interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
isTestConnectionOnCheckout
public boolean isTestConnectionOnCheckout()Deprecated.- Specified by:
isTestConnectionOnCheckoutin interfaceC3P0PooledDataSourceMBean
-
setTestConnectionOnCheckout
Deprecated.- Specified by:
setTestConnectionOnCheckoutin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
isTestConnectionOnCheckin
public boolean isTestConnectionOnCheckin()Deprecated.- Specified by:
isTestConnectionOnCheckinin interfaceC3P0PooledDataSourceMBean
-
setTestConnectionOnCheckin
Deprecated.- Specified by:
setTestConnectionOnCheckinin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
isUsesTraditionalReflectiveProxies
public boolean isUsesTraditionalReflectiveProxies()Deprecated.- Specified by:
isUsesTraditionalReflectiveProxiesin interfaceC3P0PooledDataSourceMBean
-
setUsesTraditionalReflectiveProxies
public void setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) throws NamingException Deprecated.- Specified by:
setUsesTraditionalReflectiveProxiesin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getPreferredTestQuery
Deprecated.- Specified by:
getPreferredTestQueryin interfaceC3P0PooledDataSourceMBean
-
setPreferredTestQuery
Deprecated.- Specified by:
setPreferredTestQueryin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getDataSourceName
Deprecated. -
setDataSourceName
Deprecated.- Throws:
NamingException
-
getNumHelperThreads
public int getNumHelperThreads()Deprecated.- Specified by:
getNumHelperThreadsin interfaceC3P0PooledDataSourceMBean
-
setNumHelperThreads
Deprecated.- Specified by:
setNumHelperThreadsin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getFactoryClassLocation
Deprecated.- Specified by:
getFactoryClassLocationin interfaceC3P0PooledDataSourceMBean
-
setFactoryClassLocation
Deprecated.- Specified by:
setFactoryClassLocationin interfaceC3P0PooledDataSourceMBean- Throws:
NamingException
-
getNumUserPools
Deprecated.- Specified by:
getNumUserPoolsin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumConnectionsDefaultUser
Deprecated.- Specified by:
getNumConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumIdleConnectionsDefaultUser
Deprecated.- Specified by:
getNumIdleConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumBusyConnectionsDefaultUser
Deprecated.- Specified by:
getNumBusyConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsDefaultUser
Deprecated.- Specified by:
getNumUnclosedOrphanedConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumConnections
Deprecated.- Specified by:
getNumConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumIdleConnections
Deprecated.- Specified by:
getNumIdleConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumBusyConnections
Deprecated.- Specified by:
getNumBusyConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumUnclosedOrphanedConnections
Deprecated.- Specified by:
getNumUnclosedOrphanedConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumConnectionsAllUsers
Deprecated.- Specified by:
getNumConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumIdleConnectionsAllUsers
Deprecated.- Specified by:
getNumIdleConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
Deprecated.- Specified by:
getNumBusyConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsAllUsers
Deprecated.- Specified by:
getNumUnclosedOrphanedConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
softResetDefaultUser
Deprecated.- Specified by:
softResetDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
softReset
Deprecated.- Specified by:
softResetin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
softResetAllUsers
Deprecated.- Specified by:
softResetAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
hardReset
Deprecated.- Specified by:
hardResetin interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
close
Deprecated.- Specified by:
closein interfaceC3P0PooledDataSourceMBean- Throws:
SQLException
-
create
Deprecated.- Specified by:
createin interfaceC3P0PooledDataSourceMBean- Throws:
Exception
-
start
Deprecated.- Specified by:
startin interfaceC3P0PooledDataSourceMBean- Throws:
Exception
-
stop
public void stop()Deprecated.- Specified by:
stopin interfaceC3P0PooledDataSourceMBean
-
destroy
public void destroy()Deprecated.- Specified by:
destroyin interfaceC3P0PooledDataSourceMBean
-