Package com.mchange.v2.c3p0.mbean
Interface C3P0PooledDataSourceMBean
-
- All Known Implementing Classes:
C3P0PooledDataSource
public interface C3P0PooledDataSourceMBeanDeprecated.Please use com.mchange.v2.c3p0.jboss.C3P0PooledDataSourceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.voidcreate()Deprecated.voiddestroy()Deprecated.intgetAcquireIncrement()Deprecated.intgetAcquireRetryAttempts()Deprecated.intgetAcquireRetryDelay()Deprecated.java.lang.StringgetAutomaticTestTable()Deprecated.intgetCheckoutTimeout()Deprecated.intgetConnectionIsValidTimeout()Deprecated.java.lang.StringgetConnectionTesterClassName()Deprecated.java.lang.StringgetDescription()Deprecated.java.lang.StringgetDriverClass()Deprecated.java.lang.StringgetFactoryClassLocation()Deprecated.intgetIdleConnectionTestPeriod()Deprecated.intgetInitialPoolSize()Deprecated.java.lang.StringgetJdbcUrl()Deprecated.java.lang.StringgetJndiName()Deprecated.intgetMaxIdleTime()Deprecated.intgetMaxPoolSize()Deprecated.intgetMaxStatements()Deprecated.intgetMaxStatementsPerConnection()Deprecated.intgetMinPoolSize()Deprecated.intgetNumBusyConnections(java.lang.String username, java.lang.String password)Deprecated.intgetNumBusyConnectionsAllUsers()Deprecated.intgetNumBusyConnectionsDefaultUser()Deprecated.intgetNumConnections(java.lang.String username, java.lang.String password)Deprecated.intgetNumConnectionsAllUsers()Deprecated.intgetNumConnectionsDefaultUser()Deprecated.intgetNumHelperThreads()Deprecated.intgetNumIdleConnections(java.lang.String username, java.lang.String password)Deprecated.intgetNumIdleConnectionsAllUsers()Deprecated.intgetNumIdleConnectionsDefaultUser()Deprecated.intgetNumUnclosedOrphanedConnections(java.lang.String username, java.lang.String password)Deprecated.intgetNumUnclosedOrphanedConnectionsAllUsers()Deprecated.intgetNumUnclosedOrphanedConnectionsDefaultUser()Deprecated.intgetNumUserPools()Deprecated.java.lang.StringgetPassword()Deprecated.java.lang.StringgetPreferredTestQuery()Deprecated.intgetPropertyCycle()Deprecated.java.lang.StringgetTaskRunnerFactoryClassName()Deprecated.java.lang.StringgetUser()Deprecated.voidhardReset()Deprecated.booleanisAttemptResurrectOnCheckin()Deprecated.booleanisAutoCommitOnClose()Deprecated.booleanisBreakAfterAcquireFailure()Deprecated.booleanisForceIgnoreUnresolvedTransactions()Deprecated.booleanisTestConnectionOnCheckin()Deprecated.booleanisTestConnectionOnCheckout()Deprecated.voidsetAcquireIncrement(int acquireIncrement)Deprecated.voidsetAcquireRetryAttempts(int acquireRetryAttempts)Deprecated.voidsetAcquireRetryDelay(int acquireRetryDelay)Deprecated.voidsetAttemptResurrectOnCheckin(boolean attemptResurrectOnCheckin)Deprecated.voidsetAutoCommitOnClose(boolean autoCommitOnClose)Deprecated.voidsetAutomaticTestTable(java.lang.String automaticTestTable)Deprecated.voidsetBreakAfterAcquireFailure(boolean breakAfterAcquireFailure)Deprecated.voidsetCheckoutTimeout(int checkoutTimeout)Deprecated.voidsetConnectionIsValidTimeout(int connectionIsValidTimeout)Deprecated.voidsetConnectionTesterClassName(java.lang.String connectionTesterClassName)Deprecated.voidsetDescription(java.lang.String description)Deprecated.voidsetDriverClass(java.lang.String driverClass)Deprecated.voidsetFactoryClassLocation(java.lang.String factoryClassLocation)Deprecated.voidsetForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions)Deprecated.voidsetIdleConnectionTestPeriod(int idleConnectionTestPeriod)Deprecated.voidsetInitialPoolSize(int initialPoolSize)Deprecated.voidsetJdbcUrl(java.lang.String jdbcUrl)Deprecated.voidsetJndiName(java.lang.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(java.lang.String password)Deprecated.voidsetPreferredTestQuery(java.lang.String preferredTestQuery)Deprecated.voidsetPropertyCycle(int propertyCycle)Deprecated.voidsetTaskRunnerFactoryClassName(java.lang.String taskRunnerFactoryClassName)Deprecated.voidsetTestConnectionOnCheckin(boolean testConnectionOnCheckin)Deprecated.voidsetTestConnectionOnCheckout(boolean testConnectionOnCheckout)Deprecated.voidsetUser(java.lang.String user)Deprecated.voidsoftReset(java.lang.String username, java.lang.String password)Deprecated.voidsoftResetAllUsers()Deprecated.voidsoftResetDefaultUser()Deprecated.voidstart()Deprecated.voidstop()Deprecated.
-
-
-
Method Detail
-
setJndiName
void setJndiName(java.lang.String jndiName) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getJndiName
java.lang.String getJndiName()
Deprecated.
-
getDescription
java.lang.String getDescription()
Deprecated.
-
setDescription
void setDescription(java.lang.String description) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getDriverClass
java.lang.String getDriverClass()
Deprecated.
-
setDriverClass
void setDriverClass(java.lang.String driverClass) throws java.beans.PropertyVetoException, javax.naming.NamingExceptionDeprecated.- Throws:
java.beans.PropertyVetoExceptionjavax.naming.NamingException
-
getJdbcUrl
java.lang.String getJdbcUrl()
Deprecated.
-
setJdbcUrl
void setJdbcUrl(java.lang.String jdbcUrl) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getUser
java.lang.String getUser()
Deprecated.
-
setUser
void setUser(java.lang.String user) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getPassword
java.lang.String getPassword()
Deprecated.
-
setPassword
void setPassword(java.lang.String password) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getCheckoutTimeout
int getCheckoutTimeout()
Deprecated.
-
setCheckoutTimeout
void setCheckoutTimeout(int checkoutTimeout) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getConnectionIsValidTimeout
int getConnectionIsValidTimeout()
Deprecated.
-
setConnectionIsValidTimeout
void setConnectionIsValidTimeout(int connectionIsValidTimeout) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getAcquireIncrement
int getAcquireIncrement()
Deprecated.
-
setAcquireIncrement
void setAcquireIncrement(int acquireIncrement) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getAcquireRetryAttempts
int getAcquireRetryAttempts()
Deprecated.
-
setAcquireRetryAttempts
void setAcquireRetryAttempts(int acquireRetryAttempts) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getAcquireRetryDelay
int getAcquireRetryDelay()
Deprecated.
-
setAcquireRetryDelay
void setAcquireRetryDelay(int acquireRetryDelay) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
isAutoCommitOnClose
boolean isAutoCommitOnClose()
Deprecated.
-
setAutoCommitOnClose
void setAutoCommitOnClose(boolean autoCommitOnClose) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getConnectionTesterClassName
java.lang.String getConnectionTesterClassName()
Deprecated.
-
setConnectionTesterClassName
void setConnectionTesterClassName(java.lang.String connectionTesterClassName) throws java.beans.PropertyVetoException, javax.naming.NamingExceptionDeprecated.- Throws:
java.beans.PropertyVetoExceptionjavax.naming.NamingException
-
getTaskRunnerFactoryClassName
java.lang.String getTaskRunnerFactoryClassName()
Deprecated.
-
setTaskRunnerFactoryClassName
void setTaskRunnerFactoryClassName(java.lang.String taskRunnerFactoryClassName) throws java.beans.PropertyVetoException, javax.naming.NamingExceptionDeprecated.- Throws:
java.beans.PropertyVetoExceptionjavax.naming.NamingException
-
getAutomaticTestTable
java.lang.String getAutomaticTestTable()
Deprecated.
-
setAutomaticTestTable
void setAutomaticTestTable(java.lang.String automaticTestTable) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
isForceIgnoreUnresolvedTransactions
boolean isForceIgnoreUnresolvedTransactions()
Deprecated.
-
setForceIgnoreUnresolvedTransactions
void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getIdleConnectionTestPeriod
int getIdleConnectionTestPeriod()
Deprecated.
-
setIdleConnectionTestPeriod
void setIdleConnectionTestPeriod(int idleConnectionTestPeriod) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getInitialPoolSize
int getInitialPoolSize()
Deprecated.
-
setInitialPoolSize
void setInitialPoolSize(int initialPoolSize) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getMaxIdleTime
int getMaxIdleTime()
Deprecated.
-
setMaxIdleTime
void setMaxIdleTime(int maxIdleTime) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getMaxPoolSize
int getMaxPoolSize()
Deprecated.
-
setMaxPoolSize
void setMaxPoolSize(int maxPoolSize) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getMaxStatements
int getMaxStatements()
Deprecated.
-
setMaxStatements
void setMaxStatements(int maxStatements) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getMaxStatementsPerConnection
int getMaxStatementsPerConnection()
Deprecated.
-
setMaxStatementsPerConnection
void setMaxStatementsPerConnection(int maxStatementsPerConnection) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getMinPoolSize
int getMinPoolSize()
Deprecated.
-
setMinPoolSize
void setMinPoolSize(int minPoolSize) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getPropertyCycle
int getPropertyCycle()
Deprecated.
-
setPropertyCycle
void setPropertyCycle(int propertyCycle) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
isBreakAfterAcquireFailure
boolean isBreakAfterAcquireFailure()
Deprecated.
-
setBreakAfterAcquireFailure
void setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
isTestConnectionOnCheckout
boolean isTestConnectionOnCheckout()
Deprecated.
-
setTestConnectionOnCheckout
void setTestConnectionOnCheckout(boolean testConnectionOnCheckout) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
isTestConnectionOnCheckin
boolean isTestConnectionOnCheckin()
Deprecated.
-
setTestConnectionOnCheckin
void setTestConnectionOnCheckin(boolean testConnectionOnCheckin) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
isAttemptResurrectOnCheckin
boolean isAttemptResurrectOnCheckin()
Deprecated.
-
setAttemptResurrectOnCheckin
void setAttemptResurrectOnCheckin(boolean attemptResurrectOnCheckin) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getPreferredTestQuery
java.lang.String getPreferredTestQuery()
Deprecated.
-
setPreferredTestQuery
void setPreferredTestQuery(java.lang.String preferredTestQuery) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getNumHelperThreads
int getNumHelperThreads()
Deprecated.
-
setNumHelperThreads
void setNumHelperThreads(int numHelperThreads) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getFactoryClassLocation
java.lang.String getFactoryClassLocation()
Deprecated.
-
setFactoryClassLocation
void setFactoryClassLocation(java.lang.String factoryClassLocation) throws javax.naming.NamingExceptionDeprecated.- Throws:
javax.naming.NamingException
-
getNumUserPools
int getNumUserPools() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumConnectionsDefaultUser
int getNumConnectionsDefaultUser() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumIdleConnectionsDefaultUser
int getNumIdleConnectionsDefaultUser() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumBusyConnectionsDefaultUser
int getNumBusyConnectionsDefaultUser() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumUnclosedOrphanedConnectionsDefaultUser
int getNumUnclosedOrphanedConnectionsDefaultUser() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumConnections
int getNumConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumIdleConnections
int getNumIdleConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumBusyConnections
int getNumBusyConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumUnclosedOrphanedConnections
int getNumUnclosedOrphanedConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumBusyConnectionsAllUsers
int getNumBusyConnectionsAllUsers() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumIdleConnectionsAllUsers
int getNumIdleConnectionsAllUsers() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumConnectionsAllUsers
int getNumConnectionsAllUsers() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
getNumUnclosedOrphanedConnectionsAllUsers
int getNumUnclosedOrphanedConnectionsAllUsers() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
softResetDefaultUser
void softResetDefaultUser() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
softReset
void softReset(java.lang.String username, java.lang.String password) throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
softResetAllUsers
void softResetAllUsers() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
hardReset
void hardReset() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
close
void close() throws java.sql.SQLExceptionDeprecated.- Throws:
java.sql.SQLException
-
create
void create() throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
start
void start() throws java.lang.ExceptionDeprecated.- Throws:
java.lang.Exception
-
stop
void stop()
Deprecated.
-
destroy
void destroy()
Deprecated.
-
-