|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mchange.v2.c3p0.mbean.C3P0PooledDataSource
public class C3P0PooledDataSource
Constructor Summary | |
---|---|
C3P0PooledDataSource()
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
void |
create()
Deprecated. |
void |
destroy()
Deprecated. |
int |
getAcquireIncrement()
Deprecated. |
int |
getAcquireRetryAttempts()
Deprecated. |
int |
getAcquireRetryDelay()
Deprecated. |
java.lang.String |
getAutomaticTestTable()
Deprecated. |
int |
getCheckoutTimeout()
Deprecated. |
java.lang.String |
getConnectionTesterClassName()
Deprecated. |
java.lang.String |
getDataSourceName()
Deprecated. |
java.lang.String |
getDescription()
Deprecated. |
java.lang.String |
getDriverClass()
Deprecated. |
java.lang.String |
getFactoryClassLocation()
Deprecated. |
int |
getIdleConnectionTestPeriod()
Deprecated. |
int |
getInitialPoolSize()
Deprecated. |
java.lang.String |
getJdbcUrl()
Deprecated. |
java.lang.String |
getJndiName()
Deprecated. |
int |
getMaxIdleTime()
Deprecated. |
int |
getMaxPoolSize()
Deprecated. |
int |
getMaxStatements()
Deprecated. |
int |
getMaxStatementsPerConnection()
Deprecated. |
int |
getMinPoolSize()
Deprecated. |
int |
getNumBusyConnections(java.lang.String username,
java.lang.String password)
Deprecated. |
int |
getNumBusyConnectionsAllUsers()
Deprecated. |
int |
getNumBusyConnectionsDefaultUser()
Deprecated. |
int |
getNumConnections(java.lang.String username,
java.lang.String password)
Deprecated. |
int |
getNumConnectionsAllUsers()
Deprecated. |
int |
getNumConnectionsDefaultUser()
Deprecated. |
int |
getNumHelperThreads()
Deprecated. |
int |
getNumIdleConnections(java.lang.String username,
java.lang.String password)
Deprecated. |
int |
getNumIdleConnectionsAllUsers()
Deprecated. |
int |
getNumIdleConnectionsDefaultUser()
Deprecated. |
int |
getNumUnclosedOrphanedConnections(java.lang.String username,
java.lang.String password)
Deprecated. |
int |
getNumUnclosedOrphanedConnectionsAllUsers()
Deprecated. |
int |
getNumUnclosedOrphanedConnectionsDefaultUser()
Deprecated. |
int |
getNumUserPools()
Deprecated. |
java.lang.String |
getPassword()
Deprecated. |
java.lang.String |
getPreferredTestQuery()
Deprecated. |
int |
getPropertyCycle()
Deprecated. |
java.lang.String |
getUser()
Deprecated. |
void |
hardReset()
Deprecated. |
boolean |
isAutoCommitOnClose()
Deprecated. |
boolean |
isBreakAfterAcquireFailure()
Deprecated. |
boolean |
isForceIgnoreUnresolvedTransactions()
Deprecated. |
boolean |
isTestConnectionOnCheckin()
Deprecated. |
boolean |
isTestConnectionOnCheckout()
Deprecated. |
boolean |
isUsesTraditionalReflectiveProxies()
Deprecated. |
void |
setAcquireIncrement(int acquireIncrement)
Deprecated. |
void |
setAcquireRetryAttempts(int acquireRetryAttempts)
Deprecated. |
void |
setAcquireRetryDelay(int acquireRetryDelay)
Deprecated. |
void |
setAutoCommitOnClose(boolean autoCommitOnClose)
Deprecated. |
void |
setAutomaticTestTable(java.lang.String automaticTestTable)
Deprecated. |
void |
setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure)
Deprecated. |
void |
setCheckoutTimeout(int checkoutTimeout)
Deprecated. |
void |
setConnectionTesterClassName(java.lang.String connectionTesterClassName)
Deprecated. |
void |
setDataSourceName(java.lang.String name)
Deprecated. |
void |
setDescription(java.lang.String description)
Deprecated. |
void |
setDriverClass(java.lang.String driverClass)
Deprecated. |
void |
setFactoryClassLocation(java.lang.String factoryClassLocation)
Deprecated. |
void |
setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions)
Deprecated. |
void |
setIdleConnectionTestPeriod(int idleConnectionTestPeriod)
Deprecated. |
void |
setInitialPoolSize(int initialPoolSize)
Deprecated. |
void |
setJdbcUrl(java.lang.String jdbcUrl)
Deprecated. |
void |
setJndiName(java.lang.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(java.lang.String password)
Deprecated. |
void |
setPreferredTestQuery(java.lang.String preferredTestQuery)
Deprecated. |
void |
setPropertyCycle(int propertyCycle)
Deprecated. |
void |
setTestConnectionOnCheckin(boolean testConnectionOnCheckin)
Deprecated. |
void |
setTestConnectionOnCheckout(boolean testConnectionOnCheckout)
Deprecated. |
void |
setUser(java.lang.String user)
Deprecated. |
void |
setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies)
Deprecated. |
void |
softReset(java.lang.String username,
java.lang.String password)
Deprecated. |
void |
softResetAllUsers()
Deprecated. |
void |
softResetDefaultUser()
Deprecated. |
void |
start()
Deprecated. |
void |
stop()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public C3P0PooledDataSource()
Method Detail |
---|
public void setJndiName(java.lang.String jndiName) throws javax.naming.NamingException
setJndiName
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getJndiName()
getJndiName
in interface C3P0PooledDataSourceMBean
public java.lang.String getDescription()
getDescription
in interface C3P0PooledDataSourceMBean
public void setDescription(java.lang.String description) throws javax.naming.NamingException
setDescription
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getDriverClass()
getDriverClass
in interface C3P0PooledDataSourceMBean
public void setDriverClass(java.lang.String driverClass) throws java.beans.PropertyVetoException, javax.naming.NamingException
setDriverClass
in interface C3P0PooledDataSourceMBean
java.beans.PropertyVetoException
javax.naming.NamingException
public java.lang.String getJdbcUrl()
getJdbcUrl
in interface C3P0PooledDataSourceMBean
public void setJdbcUrl(java.lang.String jdbcUrl) throws javax.naming.NamingException
setJdbcUrl
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getUser()
getUser
in interface C3P0PooledDataSourceMBean
public void setUser(java.lang.String user) throws javax.naming.NamingException
setUser
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getPassword()
getPassword
in interface C3P0PooledDataSourceMBean
public void setPassword(java.lang.String password) throws javax.naming.NamingException
setPassword
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getCheckoutTimeout()
getCheckoutTimeout
in interface C3P0PooledDataSourceMBean
public void setCheckoutTimeout(int checkoutTimeout) throws javax.naming.NamingException
setCheckoutTimeout
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getAcquireIncrement()
getAcquireIncrement
in interface C3P0PooledDataSourceMBean
public void setAcquireIncrement(int acquireIncrement) throws javax.naming.NamingException
setAcquireIncrement
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getAcquireRetryAttempts()
getAcquireRetryAttempts
in interface C3P0PooledDataSourceMBean
public void setAcquireRetryAttempts(int acquireRetryAttempts) throws javax.naming.NamingException
setAcquireRetryAttempts
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getAcquireRetryDelay()
getAcquireRetryDelay
in interface C3P0PooledDataSourceMBean
public void setAcquireRetryDelay(int acquireRetryDelay) throws javax.naming.NamingException
setAcquireRetryDelay
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public boolean isAutoCommitOnClose()
isAutoCommitOnClose
in interface C3P0PooledDataSourceMBean
public void setAutoCommitOnClose(boolean autoCommitOnClose) throws javax.naming.NamingException
setAutoCommitOnClose
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getConnectionTesterClassName()
getConnectionTesterClassName
in interface C3P0PooledDataSourceMBean
public void setConnectionTesterClassName(java.lang.String connectionTesterClassName) throws java.beans.PropertyVetoException, javax.naming.NamingException
setConnectionTesterClassName
in interface C3P0PooledDataSourceMBean
java.beans.PropertyVetoException
javax.naming.NamingException
public java.lang.String getAutomaticTestTable()
getAutomaticTestTable
in interface C3P0PooledDataSourceMBean
public void setAutomaticTestTable(java.lang.String automaticTestTable) throws javax.naming.NamingException
setAutomaticTestTable
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public boolean isForceIgnoreUnresolvedTransactions()
isForceIgnoreUnresolvedTransactions
in interface C3P0PooledDataSourceMBean
public void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws javax.naming.NamingException
setForceIgnoreUnresolvedTransactions
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getIdleConnectionTestPeriod()
getIdleConnectionTestPeriod
in interface C3P0PooledDataSourceMBean
public void setIdleConnectionTestPeriod(int idleConnectionTestPeriod) throws javax.naming.NamingException
setIdleConnectionTestPeriod
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getInitialPoolSize()
getInitialPoolSize
in interface C3P0PooledDataSourceMBean
public void setInitialPoolSize(int initialPoolSize) throws javax.naming.NamingException
setInitialPoolSize
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getMaxIdleTime()
getMaxIdleTime
in interface C3P0PooledDataSourceMBean
public void setMaxIdleTime(int maxIdleTime) throws javax.naming.NamingException
setMaxIdleTime
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getMaxPoolSize()
getMaxPoolSize
in interface C3P0PooledDataSourceMBean
public void setMaxPoolSize(int maxPoolSize) throws javax.naming.NamingException
setMaxPoolSize
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getMaxStatements()
getMaxStatements
in interface C3P0PooledDataSourceMBean
public void setMaxStatements(int maxStatements) throws javax.naming.NamingException
setMaxStatements
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getMaxStatementsPerConnection()
getMaxStatementsPerConnection
in interface C3P0PooledDataSourceMBean
public void setMaxStatementsPerConnection(int maxStatementsPerConnection) throws javax.naming.NamingException
setMaxStatementsPerConnection
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getMinPoolSize()
getMinPoolSize
in interface C3P0PooledDataSourceMBean
public void setMinPoolSize(int minPoolSize) throws javax.naming.NamingException
setMinPoolSize
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getPropertyCycle()
getPropertyCycle
in interface C3P0PooledDataSourceMBean
public void setPropertyCycle(int propertyCycle) throws javax.naming.NamingException
setPropertyCycle
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public boolean isBreakAfterAcquireFailure()
isBreakAfterAcquireFailure
in interface C3P0PooledDataSourceMBean
public void setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) throws javax.naming.NamingException
setBreakAfterAcquireFailure
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public boolean isTestConnectionOnCheckout()
isTestConnectionOnCheckout
in interface C3P0PooledDataSourceMBean
public void setTestConnectionOnCheckout(boolean testConnectionOnCheckout) throws javax.naming.NamingException
setTestConnectionOnCheckout
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public boolean isTestConnectionOnCheckin()
isTestConnectionOnCheckin
in interface C3P0PooledDataSourceMBean
public void setTestConnectionOnCheckin(boolean testConnectionOnCheckin) throws javax.naming.NamingException
setTestConnectionOnCheckin
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public boolean isUsesTraditionalReflectiveProxies()
isUsesTraditionalReflectiveProxies
in interface C3P0PooledDataSourceMBean
public void setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) throws javax.naming.NamingException
setUsesTraditionalReflectiveProxies
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getPreferredTestQuery()
getPreferredTestQuery
in interface C3P0PooledDataSourceMBean
public void setPreferredTestQuery(java.lang.String preferredTestQuery) throws javax.naming.NamingException
setPreferredTestQuery
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getDataSourceName()
public void setDataSourceName(java.lang.String name) throws javax.naming.NamingException
javax.naming.NamingException
public int getNumHelperThreads()
getNumHelperThreads
in interface C3P0PooledDataSourceMBean
public void setNumHelperThreads(int numHelperThreads) throws javax.naming.NamingException
setNumHelperThreads
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public java.lang.String getFactoryClassLocation()
getFactoryClassLocation
in interface C3P0PooledDataSourceMBean
public void setFactoryClassLocation(java.lang.String factoryClassLocation) throws javax.naming.NamingException
setFactoryClassLocation
in interface C3P0PooledDataSourceMBean
javax.naming.NamingException
public int getNumUserPools() throws java.sql.SQLException
getNumUserPools
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumConnectionsDefaultUser() throws java.sql.SQLException
getNumConnectionsDefaultUser
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumIdleConnectionsDefaultUser() throws java.sql.SQLException
getNumIdleConnectionsDefaultUser
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumBusyConnectionsDefaultUser() throws java.sql.SQLException
getNumBusyConnectionsDefaultUser
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumUnclosedOrphanedConnectionsDefaultUser() throws java.sql.SQLException
getNumUnclosedOrphanedConnectionsDefaultUser
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumConnections
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumIdleConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumIdleConnections
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumBusyConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumBusyConnections
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumUnclosedOrphanedConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
getNumUnclosedOrphanedConnections
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumConnectionsAllUsers() throws java.sql.SQLException
getNumConnectionsAllUsers
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumIdleConnectionsAllUsers() throws java.sql.SQLException
getNumIdleConnectionsAllUsers
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumBusyConnectionsAllUsers() throws java.sql.SQLException
getNumBusyConnectionsAllUsers
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public int getNumUnclosedOrphanedConnectionsAllUsers() throws java.sql.SQLException
getNumUnclosedOrphanedConnectionsAllUsers
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public void softResetDefaultUser() throws java.sql.SQLException
softResetDefaultUser
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public void softReset(java.lang.String username, java.lang.String password) throws java.sql.SQLException
softReset
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public void softResetAllUsers() throws java.sql.SQLException
softResetAllUsers
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public void hardReset() throws java.sql.SQLException
hardReset
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public void close() throws java.sql.SQLException
close
in interface C3P0PooledDataSourceMBean
java.sql.SQLException
public void create() throws java.lang.Exception
create
in interface C3P0PooledDataSourceMBean
java.lang.Exception
public void start() throws java.lang.Exception
start
in interface C3P0PooledDataSourceMBean
java.lang.Exception
public void stop()
stop
in interface C3P0PooledDataSourceMBean
public void destroy()
destroy
in interface C3P0PooledDataSourceMBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |