Interface C3P0PooledDataSourceMBean
- All Known Implementing Classes:
C3P0PooledDataSource
public interface C3P0PooledDataSourceMBean
Deprecated.
Please use com.mchange.v2.c3p0.jboss.C3P0PooledDataSourceMBean
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.voidcreate()Deprecated.voiddestroy()Deprecated.intDeprecated.intDeprecated.intDeprecated.Deprecated.intDeprecated.intDeprecated.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.Deprecated.getUser()Deprecated.voidDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.voidsetAcquireIncrement(int acquireIncrement) Deprecated.voidsetAcquireRetryAttempts(int acquireRetryAttempts) Deprecated.voidsetAcquireRetryDelay(int acquireRetryDelay) Deprecated.voidsetAttemptResurrectOnCheckin(boolean attemptResurrectOnCheckin) Deprecated.voidsetAutoCommitOnClose(boolean autoCommitOnClose) Deprecated.voidsetAutomaticTestTable(String automaticTestTable) Deprecated.voidsetBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) Deprecated.voidsetCancelAutomaticallyClosedStatements(boolean cancelAutomaticallyClosedStatements) Deprecated.voidsetCheckoutTimeout(int checkoutTimeout) Deprecated.voidsetConnectionIsValidTimeout(int connectionIsValidTimeout) Deprecated.voidsetConnectionTesterClassName(String connectionTesterClassName) 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.voidsetTaskRunnerFactoryClassName(String taskRunnerFactoryClassName) Deprecated.voidsetTestConnectionOnCheckin(boolean testConnectionOnCheckin) Deprecated.voidsetTestConnectionOnCheckout(boolean testConnectionOnCheckout) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidstart()Deprecated.voidstop()Deprecated.
-
Method Details
-
setJndiName
-
getJndiName
String getJndiName()Deprecated. -
getDescription
String getDescription()Deprecated. -
setDescription
-
getDriverClass
String getDriverClass()Deprecated. -
setDriverClass
Deprecated.- Throws:
PropertyVetoExceptionNamingException
-
getJdbcUrl
String getJdbcUrl()Deprecated. -
setJdbcUrl
-
getUser
String getUser()Deprecated. -
setUser
-
getPassword
String getPassword()Deprecated. -
setPassword
-
getCheckoutTimeout
int getCheckoutTimeout()Deprecated. -
setCheckoutTimeout
Deprecated.- Throws:
NamingException
-
getConnectionIsValidTimeout
int getConnectionIsValidTimeout()Deprecated. -
setConnectionIsValidTimeout
Deprecated.- Throws:
NamingException
-
getAcquireIncrement
int getAcquireIncrement()Deprecated. -
setAcquireIncrement
Deprecated.- Throws:
NamingException
-
getAcquireRetryAttempts
int getAcquireRetryAttempts()Deprecated. -
setAcquireRetryAttempts
Deprecated.- Throws:
NamingException
-
getAcquireRetryDelay
int getAcquireRetryDelay()Deprecated. -
setAcquireRetryDelay
Deprecated.- Throws:
NamingException
-
isAutoCommitOnClose
boolean isAutoCommitOnClose()Deprecated. -
setAutoCommitOnClose
Deprecated.- Throws:
NamingException
-
isCancelAutomaticallyClosedStatements
boolean isCancelAutomaticallyClosedStatements()Deprecated. -
setCancelAutomaticallyClosedStatements
void setCancelAutomaticallyClosedStatements(boolean cancelAutomaticallyClosedStatements) throws NamingException Deprecated.- Throws:
NamingException
-
getConnectionTesterClassName
String getConnectionTesterClassName()Deprecated. -
setConnectionTesterClassName
void setConnectionTesterClassName(String connectionTesterClassName) throws PropertyVetoException, NamingException Deprecated.- Throws:
PropertyVetoExceptionNamingException
-
getTaskRunnerFactoryClassName
String getTaskRunnerFactoryClassName()Deprecated. -
setTaskRunnerFactoryClassName
void setTaskRunnerFactoryClassName(String taskRunnerFactoryClassName) throws PropertyVetoException, NamingException Deprecated.- Throws:
PropertyVetoExceptionNamingException
-
getAutomaticTestTable
String getAutomaticTestTable()Deprecated. -
setAutomaticTestTable
Deprecated.- Throws:
NamingException
-
isForceIgnoreUnresolvedTransactions
boolean isForceIgnoreUnresolvedTransactions()Deprecated. -
setForceIgnoreUnresolvedTransactions
void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws NamingException Deprecated.- Throws:
NamingException
-
getIdleConnectionTestPeriod
int getIdleConnectionTestPeriod()Deprecated. -
setIdleConnectionTestPeriod
Deprecated.- Throws:
NamingException
-
getInitialPoolSize
int getInitialPoolSize()Deprecated. -
setInitialPoolSize
Deprecated.- Throws:
NamingException
-
getMaxIdleTime
int getMaxIdleTime()Deprecated. -
setMaxIdleTime
-
getMaxPoolSize
int getMaxPoolSize()Deprecated. -
setMaxPoolSize
-
getMaxStatements
int getMaxStatements()Deprecated. -
setMaxStatements
-
getMaxStatementsPerConnection
int getMaxStatementsPerConnection()Deprecated. -
setMaxStatementsPerConnection
Deprecated.- Throws:
NamingException
-
getMinPoolSize
int getMinPoolSize()Deprecated. -
setMinPoolSize
-
getPropertyCycle
int getPropertyCycle()Deprecated. -
setPropertyCycle
-
isBreakAfterAcquireFailure
boolean isBreakAfterAcquireFailure()Deprecated. -
setBreakAfterAcquireFailure
Deprecated.- Throws:
NamingException
-
isTestConnectionOnCheckout
boolean isTestConnectionOnCheckout()Deprecated. -
setTestConnectionOnCheckout
Deprecated.- Throws:
NamingException
-
isTestConnectionOnCheckin
boolean isTestConnectionOnCheckin()Deprecated. -
setTestConnectionOnCheckin
Deprecated.- Throws:
NamingException
-
isAttemptResurrectOnCheckin
boolean isAttemptResurrectOnCheckin()Deprecated. -
setAttemptResurrectOnCheckin
Deprecated.- Throws:
NamingException
-
getPreferredTestQuery
String getPreferredTestQuery()Deprecated. -
setPreferredTestQuery
Deprecated.- Throws:
NamingException
-
getNumHelperThreads
int getNumHelperThreads()Deprecated. -
setNumHelperThreads
Deprecated.- Throws:
NamingException
-
getFactoryClassLocation
String getFactoryClassLocation()Deprecated. -
setFactoryClassLocation
Deprecated.- Throws:
NamingException
-
getNumUserPools
-
getNumConnectionsDefaultUser
-
getNumIdleConnectionsDefaultUser
-
getNumBusyConnectionsDefaultUser
-
getNumUnclosedOrphanedConnectionsDefaultUser
Deprecated.- Throws:
SQLException
-
getNumConnections
Deprecated.- Throws:
SQLException
-
getNumIdleConnections
Deprecated.- Throws:
SQLException
-
getNumBusyConnections
Deprecated.- Throws:
SQLException
-
getNumUnclosedOrphanedConnections
Deprecated.- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
-
getNumIdleConnectionsAllUsers
-
getNumConnectionsAllUsers
-
getNumUnclosedOrphanedConnectionsAllUsers
Deprecated.- Throws:
SQLException
-
softResetDefaultUser
-
softReset
Deprecated.- Throws:
SQLException
-
softResetAllUsers
-
hardReset
-
close
-
create
-
start
-
stop
void stop()Deprecated. -
destroy
void destroy()Deprecated.
-