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 TypeMethodDescriptionvoid
close()
Deprecated.void
create()
Deprecated.void
destroy()
Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.Deprecated.int
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.int
Deprecated.Deprecated.Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.int
getNumBusyConnections
(String username, String password) Deprecated.int
Deprecated.int
Deprecated.int
getNumConnections
(String username, String password) Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.int
getNumIdleConnections
(String username, String password) Deprecated.int
Deprecated.int
Deprecated.int
getNumUnclosedOrphanedConnections
(String username, String password) Deprecated.int
Deprecated.int
Deprecated.int
Deprecated.Deprecated.Deprecated.int
Deprecated.getUser()
Deprecated.void
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.void
setAcquireIncrement
(int acquireIncrement) Deprecated.void
setAcquireRetryAttempts
(int acquireRetryAttempts) Deprecated.void
setAcquireRetryDelay
(int acquireRetryDelay) Deprecated.void
setAutoCommitOnClose
(boolean autoCommitOnClose) Deprecated.void
setAutomaticTestTable
(String automaticTestTable) Deprecated.void
setBreakAfterAcquireFailure
(boolean breakAfterAcquireFailure) Deprecated.void
setCheckoutTimeout
(int checkoutTimeout) Deprecated.void
setConnectionTesterClassName
(String connectionTesterClassName) Deprecated.void
setDataSourceName
(String name) Deprecated.void
setDescription
(String description) Deprecated.void
setDriverClass
(String driverClass) Deprecated.void
setFactoryClassLocation
(String factoryClassLocation) Deprecated.void
setForceIgnoreUnresolvedTransactions
(boolean forceIgnoreUnresolvedTransactions) Deprecated.void
setIdleConnectionTestPeriod
(int idleConnectionTestPeriod) Deprecated.void
setInitialPoolSize
(int initialPoolSize) Deprecated.void
setJdbcUrl
(String jdbcUrl) Deprecated.void
setJndiName
(String jndiName) Deprecated.void
setMaxIdleTime
(int maxIdleTime) Deprecated.void
setMaxPoolSize
(int maxPoolSize) Deprecated.void
setMaxStatements
(int maxStatements) Deprecated.void
setMaxStatementsPerConnection
(int maxStatementsPerConnection) Deprecated.void
setMinPoolSize
(int minPoolSize) Deprecated.void
setNumHelperThreads
(int numHelperThreads) Deprecated.void
setPassword
(String password) Deprecated.void
setPreferredTestQuery
(String preferredTestQuery) Deprecated.void
setPropertyCycle
(int propertyCycle) Deprecated.void
setTestConnectionOnCheckin
(boolean testConnectionOnCheckin) Deprecated.void
setTestConnectionOnCheckout
(boolean testConnectionOnCheckout) Deprecated.void
Deprecated.void
setUsesTraditionalReflectiveProxies
(boolean usesTraditionalReflectiveProxies) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
start()
Deprecated.void
stop()
Deprecated.
-
Constructor Details
-
C3P0PooledDataSource
public C3P0PooledDataSource()Deprecated.
-
-
Method Details
-
setJndiName
Deprecated.- Specified by:
setJndiName
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getJndiName
Deprecated.- Specified by:
getJndiName
in interfaceC3P0PooledDataSourceMBean
-
getDescription
Deprecated.- Specified by:
getDescription
in interfaceC3P0PooledDataSourceMBean
-
setDescription
Deprecated.- Specified by:
setDescription
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getDriverClass
Deprecated.- Specified by:
getDriverClass
in interfaceC3P0PooledDataSourceMBean
-
setDriverClass
Deprecated.- Specified by:
setDriverClass
in interfaceC3P0PooledDataSourceMBean
- Throws:
PropertyVetoException
NamingException
-
getJdbcUrl
Deprecated.- Specified by:
getJdbcUrl
in interfaceC3P0PooledDataSourceMBean
-
setJdbcUrl
Deprecated.- Specified by:
setJdbcUrl
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getUser
Deprecated.- Specified by:
getUser
in interfaceC3P0PooledDataSourceMBean
-
setUser
Deprecated.- Specified by:
setUser
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getPassword
Deprecated.- Specified by:
getPassword
in interfaceC3P0PooledDataSourceMBean
-
setPassword
Deprecated.- Specified by:
setPassword
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getCheckoutTimeout
public int getCheckoutTimeout()Deprecated.- Specified by:
getCheckoutTimeout
in interfaceC3P0PooledDataSourceMBean
-
setCheckoutTimeout
Deprecated.- Specified by:
setCheckoutTimeout
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getAcquireIncrement
public int getAcquireIncrement()Deprecated.- Specified by:
getAcquireIncrement
in interfaceC3P0PooledDataSourceMBean
-
setAcquireIncrement
Deprecated.- Specified by:
setAcquireIncrement
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getAcquireRetryAttempts
public int getAcquireRetryAttempts()Deprecated.- Specified by:
getAcquireRetryAttempts
in interfaceC3P0PooledDataSourceMBean
-
setAcquireRetryAttempts
Deprecated.- Specified by:
setAcquireRetryAttempts
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getAcquireRetryDelay
public int getAcquireRetryDelay()Deprecated.- Specified by:
getAcquireRetryDelay
in interfaceC3P0PooledDataSourceMBean
-
setAcquireRetryDelay
Deprecated.- Specified by:
setAcquireRetryDelay
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
isAutoCommitOnClose
public boolean isAutoCommitOnClose()Deprecated.- Specified by:
isAutoCommitOnClose
in interfaceC3P0PooledDataSourceMBean
-
setAutoCommitOnClose
Deprecated.- Specified by:
setAutoCommitOnClose
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getConnectionTesterClassName
Deprecated.- Specified by:
getConnectionTesterClassName
in interfaceC3P0PooledDataSourceMBean
-
setConnectionTesterClassName
public void setConnectionTesterClassName(String connectionTesterClassName) throws PropertyVetoException, NamingException Deprecated.- Specified by:
setConnectionTesterClassName
in interfaceC3P0PooledDataSourceMBean
- Throws:
PropertyVetoException
NamingException
-
getAutomaticTestTable
Deprecated.- Specified by:
getAutomaticTestTable
in interfaceC3P0PooledDataSourceMBean
-
setAutomaticTestTable
Deprecated.- Specified by:
setAutomaticTestTable
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
isForceIgnoreUnresolvedTransactions
public boolean isForceIgnoreUnresolvedTransactions()Deprecated.- Specified by:
isForceIgnoreUnresolvedTransactions
in interfaceC3P0PooledDataSourceMBean
-
setForceIgnoreUnresolvedTransactions
public void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws NamingException Deprecated.- Specified by:
setForceIgnoreUnresolvedTransactions
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getIdleConnectionTestPeriod
public int getIdleConnectionTestPeriod()Deprecated.- Specified by:
getIdleConnectionTestPeriod
in interfaceC3P0PooledDataSourceMBean
-
setIdleConnectionTestPeriod
Deprecated.- Specified by:
setIdleConnectionTestPeriod
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getInitialPoolSize
public int getInitialPoolSize()Deprecated.- Specified by:
getInitialPoolSize
in interfaceC3P0PooledDataSourceMBean
-
setInitialPoolSize
Deprecated.- Specified by:
setInitialPoolSize
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getMaxIdleTime
public int getMaxIdleTime()Deprecated.- Specified by:
getMaxIdleTime
in interfaceC3P0PooledDataSourceMBean
-
setMaxIdleTime
Deprecated.- Specified by:
setMaxIdleTime
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getMaxPoolSize
public int getMaxPoolSize()Deprecated.- Specified by:
getMaxPoolSize
in interfaceC3P0PooledDataSourceMBean
-
setMaxPoolSize
Deprecated.- Specified by:
setMaxPoolSize
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getMaxStatements
public int getMaxStatements()Deprecated.- Specified by:
getMaxStatements
in interfaceC3P0PooledDataSourceMBean
-
setMaxStatements
Deprecated.- Specified by:
setMaxStatements
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getMaxStatementsPerConnection
public int getMaxStatementsPerConnection()Deprecated.- Specified by:
getMaxStatementsPerConnection
in interfaceC3P0PooledDataSourceMBean
-
setMaxStatementsPerConnection
Deprecated.- Specified by:
setMaxStatementsPerConnection
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getMinPoolSize
public int getMinPoolSize()Deprecated.- Specified by:
getMinPoolSize
in interfaceC3P0PooledDataSourceMBean
-
setMinPoolSize
Deprecated.- Specified by:
setMinPoolSize
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getPropertyCycle
public int getPropertyCycle()Deprecated.- Specified by:
getPropertyCycle
in interfaceC3P0PooledDataSourceMBean
-
setPropertyCycle
Deprecated.- Specified by:
setPropertyCycle
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
isBreakAfterAcquireFailure
public boolean isBreakAfterAcquireFailure()Deprecated.- Specified by:
isBreakAfterAcquireFailure
in interfaceC3P0PooledDataSourceMBean
-
setBreakAfterAcquireFailure
Deprecated.- Specified by:
setBreakAfterAcquireFailure
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
isTestConnectionOnCheckout
public boolean isTestConnectionOnCheckout()Deprecated.- Specified by:
isTestConnectionOnCheckout
in interfaceC3P0PooledDataSourceMBean
-
setTestConnectionOnCheckout
Deprecated.- Specified by:
setTestConnectionOnCheckout
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
isTestConnectionOnCheckin
public boolean isTestConnectionOnCheckin()Deprecated.- Specified by:
isTestConnectionOnCheckin
in interfaceC3P0PooledDataSourceMBean
-
setTestConnectionOnCheckin
Deprecated.- Specified by:
setTestConnectionOnCheckin
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
isUsesTraditionalReflectiveProxies
public boolean isUsesTraditionalReflectiveProxies()Deprecated.- Specified by:
isUsesTraditionalReflectiveProxies
in interfaceC3P0PooledDataSourceMBean
-
setUsesTraditionalReflectiveProxies
public void setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) throws NamingException Deprecated.- Specified by:
setUsesTraditionalReflectiveProxies
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getPreferredTestQuery
Deprecated.- Specified by:
getPreferredTestQuery
in interfaceC3P0PooledDataSourceMBean
-
setPreferredTestQuery
Deprecated.- Specified by:
setPreferredTestQuery
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getDataSourceName
Deprecated. -
setDataSourceName
Deprecated.- Throws:
NamingException
-
getNumHelperThreads
public int getNumHelperThreads()Deprecated.- Specified by:
getNumHelperThreads
in interfaceC3P0PooledDataSourceMBean
-
setNumHelperThreads
Deprecated.- Specified by:
setNumHelperThreads
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getFactoryClassLocation
Deprecated.- Specified by:
getFactoryClassLocation
in interfaceC3P0PooledDataSourceMBean
-
setFactoryClassLocation
Deprecated.- Specified by:
setFactoryClassLocation
in interfaceC3P0PooledDataSourceMBean
- Throws:
NamingException
-
getNumUserPools
Deprecated.- Specified by:
getNumUserPools
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumConnectionsDefaultUser
Deprecated.- Specified by:
getNumConnectionsDefaultUser
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumIdleConnectionsDefaultUser
Deprecated.- Specified by:
getNumIdleConnectionsDefaultUser
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumBusyConnectionsDefaultUser
Deprecated.- Specified by:
getNumBusyConnectionsDefaultUser
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsDefaultUser
Deprecated.- Specified by:
getNumUnclosedOrphanedConnectionsDefaultUser
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumConnections
Deprecated.- Specified by:
getNumConnections
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumIdleConnections
Deprecated.- Specified by:
getNumIdleConnections
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumBusyConnections
Deprecated.- Specified by:
getNumBusyConnections
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumUnclosedOrphanedConnections
Deprecated.- Specified by:
getNumUnclosedOrphanedConnections
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumConnectionsAllUsers
Deprecated.- Specified by:
getNumConnectionsAllUsers
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumIdleConnectionsAllUsers
Deprecated.- Specified by:
getNumIdleConnectionsAllUsers
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
Deprecated.- Specified by:
getNumBusyConnectionsAllUsers
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsAllUsers
Deprecated.- Specified by:
getNumUnclosedOrphanedConnectionsAllUsers
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
softResetDefaultUser
Deprecated.- Specified by:
softResetDefaultUser
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
softReset
Deprecated.- Specified by:
softReset
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
softResetAllUsers
Deprecated.- Specified by:
softResetAllUsers
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
hardReset
Deprecated.- Specified by:
hardReset
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
close
Deprecated.- Specified by:
close
in interfaceC3P0PooledDataSourceMBean
- Throws:
SQLException
-
create
Deprecated.- Specified by:
create
in interfaceC3P0PooledDataSourceMBean
- Throws:
Exception
-
start
Deprecated.- Specified by:
start
in interfaceC3P0PooledDataSourceMBean
- Throws:
Exception
-
stop
public void stop()Deprecated.- Specified by:
stop
in interfaceC3P0PooledDataSourceMBean
-
destroy
public void destroy()Deprecated.- Specified by:
destroy
in interfaceC3P0PooledDataSourceMBean
-