Package com.mchange.v2.c3p0.jboss
Class C3P0PooledDataSource
- java.lang.Object
-
- com.mchange.v2.c3p0.jboss.C3P0PooledDataSource
-
- All Implemented Interfaces:
C3P0PooledDataSourceMBean
public class C3P0PooledDataSource extends java.lang.Object implements C3P0PooledDataSourceMBean
-
-
Constructor Summary
Constructors Constructor Description C3P0PooledDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcreate()voiddestroy()intgetAcquireIncrement()intgetAcquireRetryAttempts()intgetAcquireRetryDelay()java.lang.StringgetAutomaticTestTable()intgetCheckoutTimeout()java.lang.StringgetConnectionCustomizerClassName()intgetConnectionIsValidTimeout()java.lang.StringgetConnectionTesterClassName()java.lang.StringgetDataSourceName()java.lang.StringgetDescription()java.lang.StringgetDriverClass()floatgetEffectivePropertyCycle(java.lang.String username, java.lang.String password)floatgetEffectivePropertyCycleDefaultUser()java.lang.StringgetFactoryClassLocation()intgetIdleConnectionTestPeriod()intgetInitialPoolSize()java.lang.StringgetJdbcUrl()java.lang.StringgetJndiName()intgetMaxAdministrativeTaskTime()intgetMaxConnectionAge()intgetMaxIdleTime()intgetMaxIdleTimeExcessConnections()intgetMaxPoolSize()intgetMaxStatements()intgetMaxStatementsPerConnection()intgetMinPoolSize()intgetNumBusyConnections(java.lang.String username, java.lang.String password)intgetNumBusyConnectionsAllUsers()intgetNumBusyConnectionsDefaultUser()intgetNumConnections(java.lang.String username, java.lang.String password)intgetNumConnectionsAllUsers()intgetNumConnectionsDefaultUser()intgetNumHelperThreads()intgetNumIdleConnections(java.lang.String username, java.lang.String password)intgetNumIdleConnectionsAllUsers()intgetNumIdleConnectionsDefaultUser()intgetNumUnclosedOrphanedConnections(java.lang.String username, java.lang.String password)intgetNumUnclosedOrphanedConnectionsAllUsers()intgetNumUnclosedOrphanedConnectionsDefaultUser()intgetNumUserPools()java.lang.StringgetPassword()java.lang.StringgetPreferredTestQuery()intgetPropertyCycle()java.lang.StringgetTaskRunnerFactoryClassName()intgetUnreturnedConnectionTimeout()java.lang.StringgetUser()voidhardReset()booleanisAttemptResurrectOnCheckin()booleanisAutoCommitOnClose()booleanisBreakAfterAcquireFailure()booleanisDebugUnreturnedConnectionStackTraces()booleanisForceIgnoreUnresolvedTransactions()booleanisForceSynchronousCheckins()booleanisTestConnectionOnCheckin()booleanisTestConnectionOnCheckout()voidsetAcquireIncrement(int acquireIncrement)voidsetAcquireRetryAttempts(int acquireRetryAttempts)voidsetAcquireRetryDelay(int acquireRetryDelay)voidsetAttemptResurrectOnCheckin(boolean attemptResurrectOnCheckin)voidsetAutoCommitOnClose(boolean autoCommitOnClose)voidsetAutomaticTestTable(java.lang.String automaticTestTable)voidsetBreakAfterAcquireFailure(boolean breakAfterAcquireFailure)voidsetCheckoutTimeout(int checkoutTimeout)voidsetConnectionCustomizerClassName(java.lang.String connectionCustomizerClassName)voidsetConnectionIsValidTimeout(int connectionIsValidTimeout)voidsetConnectionTesterClassName(java.lang.String connectionTesterClassName)voidsetDataSourceName(java.lang.String name)voidsetDebugUnreturnedConnectionStackTraces(boolean debugUnreturnedConnectionStackTraces)voidsetDescription(java.lang.String description)voidsetDriverClass(java.lang.String driverClass)voidsetFactoryClassLocation(java.lang.String factoryClassLocation)voidsetForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions)voidsetForceSynchronousCheckins(boolean forceSynchronousCheckins)voidsetIdleConnectionTestPeriod(int idleConnectionTestPeriod)voidsetInitialPoolSize(int initialPoolSize)voidsetJdbcUrl(java.lang.String jdbcUrl)voidsetJndiName(java.lang.String jndiName)voidsetMaxAdministrativeTaskTime(int maxAdministrativeTaskTime)voidsetMaxConnectionAge(int maxConnectionAge)voidsetMaxIdleTime(int maxIdleTime)voidsetMaxIdleTimeExcessConnections(int maxIdleTimeExcessConnections)voidsetMaxPoolSize(int maxPoolSize)voidsetMaxStatements(int maxStatements)voidsetMaxStatementsPerConnection(int maxStatementsPerConnection)voidsetMinPoolSize(int minPoolSize)voidsetNumHelperThreads(int numHelperThreads)voidsetPassword(java.lang.String password)voidsetPreferredTestQuery(java.lang.String preferredTestQuery)voidsetPropertyCycle(int propertyCycle)voidsetTaskRunnerFactoryClassName(java.lang.String taskRunnerFactoryClassName)voidsetTestConnectionOnCheckin(boolean testConnectionOnCheckin)voidsetTestConnectionOnCheckout(boolean testConnectionOnCheckout)voidsetUnreturnedConnectionTimeout(int unreturnedConnectionTimeout)voidsetUser(java.lang.String user)voidsoftReset(java.lang.String username, java.lang.String password)voidsoftResetAllUsers()voidsoftResetDefaultUser()voidstart()voidstop()
-
-
-
Method Detail
-
setJndiName
public void setJndiName(java.lang.String jndiName) throws javax.naming.NamingException- Specified by:
setJndiNamein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getJndiName
public java.lang.String getJndiName()
- Specified by:
getJndiNamein interfaceC3P0PooledDataSourceMBean
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceC3P0PooledDataSourceMBean
-
setDescription
public void setDescription(java.lang.String description) throws javax.naming.NamingException- Specified by:
setDescriptionin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getDriverClass
public java.lang.String getDriverClass()
- Specified by:
getDriverClassin interfaceC3P0PooledDataSourceMBean
-
setDriverClass
public void setDriverClass(java.lang.String driverClass) throws java.beans.PropertyVetoException, javax.naming.NamingException- Specified by:
setDriverClassin interfaceC3P0PooledDataSourceMBean- Throws:
java.beans.PropertyVetoExceptionjavax.naming.NamingException
-
getJdbcUrl
public java.lang.String getJdbcUrl()
- Specified by:
getJdbcUrlin interfaceC3P0PooledDataSourceMBean
-
setJdbcUrl
public void setJdbcUrl(java.lang.String jdbcUrl) throws javax.naming.NamingException- Specified by:
setJdbcUrlin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getUser
public java.lang.String getUser()
- Specified by:
getUserin interfaceC3P0PooledDataSourceMBean
-
setUser
public void setUser(java.lang.String user) throws javax.naming.NamingException- Specified by:
setUserin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getPassword
public java.lang.String getPassword()
- Specified by:
getPasswordin interfaceC3P0PooledDataSourceMBean
-
setPassword
public void setPassword(java.lang.String password) throws javax.naming.NamingException- Specified by:
setPasswordin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getCheckoutTimeout
public int getCheckoutTimeout()
- Specified by:
getCheckoutTimeoutin interfaceC3P0PooledDataSourceMBean
-
setCheckoutTimeout
public void setCheckoutTimeout(int checkoutTimeout) throws javax.naming.NamingException- Specified by:
setCheckoutTimeoutin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getConnectionIsValidTimeout
public int getConnectionIsValidTimeout()
- Specified by:
getConnectionIsValidTimeoutin interfaceC3P0PooledDataSourceMBean
-
setConnectionIsValidTimeout
public void setConnectionIsValidTimeout(int connectionIsValidTimeout) throws javax.naming.NamingException- Specified by:
setConnectionIsValidTimeoutin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getAcquireIncrement
public int getAcquireIncrement()
- Specified by:
getAcquireIncrementin interfaceC3P0PooledDataSourceMBean
-
setAcquireIncrement
public void setAcquireIncrement(int acquireIncrement) throws javax.naming.NamingException- Specified by:
setAcquireIncrementin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getAcquireRetryAttempts
public int getAcquireRetryAttempts()
- Specified by:
getAcquireRetryAttemptsin interfaceC3P0PooledDataSourceMBean
-
setAcquireRetryAttempts
public void setAcquireRetryAttempts(int acquireRetryAttempts) throws javax.naming.NamingException- Specified by:
setAcquireRetryAttemptsin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getAcquireRetryDelay
public int getAcquireRetryDelay()
- Specified by:
getAcquireRetryDelayin interfaceC3P0PooledDataSourceMBean
-
setAcquireRetryDelay
public void setAcquireRetryDelay(int acquireRetryDelay) throws javax.naming.NamingException- Specified by:
setAcquireRetryDelayin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
isAutoCommitOnClose
public boolean isAutoCommitOnClose()
- Specified by:
isAutoCommitOnClosein interfaceC3P0PooledDataSourceMBean
-
setAutoCommitOnClose
public void setAutoCommitOnClose(boolean autoCommitOnClose) throws javax.naming.NamingException- Specified by:
setAutoCommitOnClosein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getConnectionTesterClassName
public java.lang.String getConnectionTesterClassName()
- Specified by:
getConnectionTesterClassNamein interfaceC3P0PooledDataSourceMBean
-
setConnectionTesterClassName
public void setConnectionTesterClassName(java.lang.String connectionTesterClassName) throws java.beans.PropertyVetoException, javax.naming.NamingException- Specified by:
setConnectionTesterClassNamein interfaceC3P0PooledDataSourceMBean- Throws:
java.beans.PropertyVetoExceptionjavax.naming.NamingException
-
getTaskRunnerFactoryClassName
public java.lang.String getTaskRunnerFactoryClassName()
- Specified by:
getTaskRunnerFactoryClassNamein interfaceC3P0PooledDataSourceMBean
-
setTaskRunnerFactoryClassName
public void setTaskRunnerFactoryClassName(java.lang.String taskRunnerFactoryClassName) throws java.beans.PropertyVetoException, javax.naming.NamingException- Specified by:
setTaskRunnerFactoryClassNamein interfaceC3P0PooledDataSourceMBean- Throws:
java.beans.PropertyVetoExceptionjavax.naming.NamingException
-
getAutomaticTestTable
public java.lang.String getAutomaticTestTable()
- Specified by:
getAutomaticTestTablein interfaceC3P0PooledDataSourceMBean
-
setAutomaticTestTable
public void setAutomaticTestTable(java.lang.String automaticTestTable) throws javax.naming.NamingException- Specified by:
setAutomaticTestTablein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
isForceIgnoreUnresolvedTransactions
public boolean isForceIgnoreUnresolvedTransactions()
- Specified by:
isForceIgnoreUnresolvedTransactionsin interfaceC3P0PooledDataSourceMBean
-
setForceIgnoreUnresolvedTransactions
public void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws javax.naming.NamingException- Specified by:
setForceIgnoreUnresolvedTransactionsin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getIdleConnectionTestPeriod
public int getIdleConnectionTestPeriod()
- Specified by:
getIdleConnectionTestPeriodin interfaceC3P0PooledDataSourceMBean
-
setIdleConnectionTestPeriod
public void setIdleConnectionTestPeriod(int idleConnectionTestPeriod) throws javax.naming.NamingException- Specified by:
setIdleConnectionTestPeriodin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getInitialPoolSize
public int getInitialPoolSize()
- Specified by:
getInitialPoolSizein interfaceC3P0PooledDataSourceMBean
-
setInitialPoolSize
public void setInitialPoolSize(int initialPoolSize) throws javax.naming.NamingException- Specified by:
setInitialPoolSizein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getMaxIdleTime
public int getMaxIdleTime()
- Specified by:
getMaxIdleTimein interfaceC3P0PooledDataSourceMBean
-
setMaxIdleTime
public void setMaxIdleTime(int maxIdleTime) throws javax.naming.NamingException- Specified by:
setMaxIdleTimein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getMaxPoolSize
public int getMaxPoolSize()
- Specified by:
getMaxPoolSizein interfaceC3P0PooledDataSourceMBean
-
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize) throws javax.naming.NamingException- Specified by:
setMaxPoolSizein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getMaxStatements
public int getMaxStatements()
- Specified by:
getMaxStatementsin interfaceC3P0PooledDataSourceMBean
-
setMaxStatements
public void setMaxStatements(int maxStatements) throws javax.naming.NamingException- Specified by:
setMaxStatementsin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getMaxStatementsPerConnection
public int getMaxStatementsPerConnection()
- Specified by:
getMaxStatementsPerConnectionin interfaceC3P0PooledDataSourceMBean
-
setMaxStatementsPerConnection
public void setMaxStatementsPerConnection(int maxStatementsPerConnection) throws javax.naming.NamingException- Specified by:
setMaxStatementsPerConnectionin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getMinPoolSize
public int getMinPoolSize()
- Specified by:
getMinPoolSizein interfaceC3P0PooledDataSourceMBean
-
setMinPoolSize
public void setMinPoolSize(int minPoolSize) throws javax.naming.NamingException- Specified by:
setMinPoolSizein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getPropertyCycle
public int getPropertyCycle()
- Specified by:
getPropertyCyclein interfaceC3P0PooledDataSourceMBean
-
setPropertyCycle
public void setPropertyCycle(int propertyCycle) throws javax.naming.NamingException- Specified by:
setPropertyCyclein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
isBreakAfterAcquireFailure
public boolean isBreakAfterAcquireFailure()
- Specified by:
isBreakAfterAcquireFailurein interfaceC3P0PooledDataSourceMBean
-
setBreakAfterAcquireFailure
public void setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) throws javax.naming.NamingException- Specified by:
setBreakAfterAcquireFailurein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
isTestConnectionOnCheckout
public boolean isTestConnectionOnCheckout()
- Specified by:
isTestConnectionOnCheckoutin interfaceC3P0PooledDataSourceMBean
-
setTestConnectionOnCheckout
public void setTestConnectionOnCheckout(boolean testConnectionOnCheckout) throws javax.naming.NamingException- Specified by:
setTestConnectionOnCheckoutin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
isTestConnectionOnCheckin
public boolean isTestConnectionOnCheckin()
- Specified by:
isTestConnectionOnCheckinin interfaceC3P0PooledDataSourceMBean
-
setTestConnectionOnCheckin
public void setTestConnectionOnCheckin(boolean testConnectionOnCheckin) throws javax.naming.NamingException- Specified by:
setTestConnectionOnCheckinin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
isAttemptResurrectOnCheckin
public boolean isAttemptResurrectOnCheckin()
- Specified by:
isAttemptResurrectOnCheckinin interfaceC3P0PooledDataSourceMBean
-
setAttemptResurrectOnCheckin
public void setAttemptResurrectOnCheckin(boolean attemptResurrectOnCheckin) throws javax.naming.NamingException- Specified by:
setAttemptResurrectOnCheckinin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getPreferredTestQuery
public java.lang.String getPreferredTestQuery()
- Specified by:
getPreferredTestQueryin interfaceC3P0PooledDataSourceMBean
-
setPreferredTestQuery
public void setPreferredTestQuery(java.lang.String preferredTestQuery) throws javax.naming.NamingException- Specified by:
setPreferredTestQueryin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getDataSourceName
public java.lang.String getDataSourceName()
-
setDataSourceName
public void setDataSourceName(java.lang.String name) throws javax.naming.NamingException- Throws:
javax.naming.NamingException
-
getNumHelperThreads
public int getNumHelperThreads()
- Specified by:
getNumHelperThreadsin interfaceC3P0PooledDataSourceMBean
-
setNumHelperThreads
public void setNumHelperThreads(int numHelperThreads) throws javax.naming.NamingException- Specified by:
setNumHelperThreadsin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getFactoryClassLocation
public java.lang.String getFactoryClassLocation()
- Specified by:
getFactoryClassLocationin interfaceC3P0PooledDataSourceMBean
-
setFactoryClassLocation
public void setFactoryClassLocation(java.lang.String factoryClassLocation) throws javax.naming.NamingException- Specified by:
setFactoryClassLocationin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
getNumUserPools
public int getNumUserPools() throws java.sql.SQLException- Specified by:
getNumUserPoolsin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumConnectionsDefaultUser
public int getNumConnectionsDefaultUser() throws java.sql.SQLException- Specified by:
getNumConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumIdleConnectionsDefaultUser
public int getNumIdleConnectionsDefaultUser() throws java.sql.SQLException- Specified by:
getNumIdleConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumBusyConnectionsDefaultUser
public int getNumBusyConnectionsDefaultUser() throws java.sql.SQLException- Specified by:
getNumBusyConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumUnclosedOrphanedConnectionsDefaultUser
public int getNumUnclosedOrphanedConnectionsDefaultUser() throws java.sql.SQLException- Specified by:
getNumUnclosedOrphanedConnectionsDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumConnections
public int getNumConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException- Specified by:
getNumConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumIdleConnections
public int getNumIdleConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException- Specified by:
getNumIdleConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumBusyConnections
public int getNumBusyConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException- Specified by:
getNumBusyConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumUnclosedOrphanedConnections
public int getNumUnclosedOrphanedConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException- Specified by:
getNumUnclosedOrphanedConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumConnectionsAllUsers
public int getNumConnectionsAllUsers() throws java.sql.SQLException- Specified by:
getNumConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumIdleConnectionsAllUsers
public int getNumIdleConnectionsAllUsers() throws java.sql.SQLException- Specified by:
getNumIdleConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumBusyConnectionsAllUsers
public int getNumBusyConnectionsAllUsers() throws java.sql.SQLException- Specified by:
getNumBusyConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getNumUnclosedOrphanedConnectionsAllUsers
public int getNumUnclosedOrphanedConnectionsAllUsers() throws java.sql.SQLException- Specified by:
getNumUnclosedOrphanedConnectionsAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
softResetDefaultUser
public void softResetDefaultUser() throws java.sql.SQLException- Specified by:
softResetDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
softReset
public void softReset(java.lang.String username, java.lang.String password) throws java.sql.SQLException- Specified by:
softResetin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
softResetAllUsers
public void softResetAllUsers() throws java.sql.SQLException- Specified by:
softResetAllUsersin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
hardReset
public void hardReset() throws java.sql.SQLException- Specified by:
hardResetin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
close
public void close() throws java.sql.SQLException- Specified by:
closein interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
create
public void create() throws java.lang.Exception- Specified by:
createin interfaceC3P0PooledDataSourceMBean- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception- Specified by:
startin interfaceC3P0PooledDataSourceMBean- Throws:
java.lang.Exception
-
stop
public void stop()
- Specified by:
stopin interfaceC3P0PooledDataSourceMBean
-
destroy
public void destroy()
- Specified by:
destroyin interfaceC3P0PooledDataSourceMBean
-
getConnectionCustomizerClassName
public java.lang.String getConnectionCustomizerClassName()
- Specified by:
getConnectionCustomizerClassNamein interfaceC3P0PooledDataSourceMBean
-
getEffectivePropertyCycle
public float getEffectivePropertyCycle(java.lang.String username, java.lang.String password) throws java.sql.SQLException- Specified by:
getEffectivePropertyCyclein interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getEffectivePropertyCycleDefaultUser
public float getEffectivePropertyCycleDefaultUser() throws java.sql.SQLException- Specified by:
getEffectivePropertyCycleDefaultUserin interfaceC3P0PooledDataSourceMBean- Throws:
java.sql.SQLException
-
getMaxAdministrativeTaskTime
public int getMaxAdministrativeTaskTime()
- Specified by:
getMaxAdministrativeTaskTimein interfaceC3P0PooledDataSourceMBean
-
getMaxConnectionAge
public int getMaxConnectionAge()
- Specified by:
getMaxConnectionAgein interfaceC3P0PooledDataSourceMBean
-
getMaxIdleTimeExcessConnections
public int getMaxIdleTimeExcessConnections()
- Specified by:
getMaxIdleTimeExcessConnectionsin interfaceC3P0PooledDataSourceMBean
-
getUnreturnedConnectionTimeout
public int getUnreturnedConnectionTimeout()
- Specified by:
getUnreturnedConnectionTimeoutin interfaceC3P0PooledDataSourceMBean
-
isDebugUnreturnedConnectionStackTraces
public boolean isDebugUnreturnedConnectionStackTraces()
- Specified by:
isDebugUnreturnedConnectionStackTracesin interfaceC3P0PooledDataSourceMBean
-
isForceSynchronousCheckins
public boolean isForceSynchronousCheckins()
- Specified by:
isForceSynchronousCheckinsin interfaceC3P0PooledDataSourceMBean
-
setConnectionCustomizerClassName
public void setConnectionCustomizerClassName(java.lang.String connectionCustomizerClassName) throws javax.naming.NamingException- Specified by:
setConnectionCustomizerClassNamein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
setDebugUnreturnedConnectionStackTraces
public void setDebugUnreturnedConnectionStackTraces(boolean debugUnreturnedConnectionStackTraces) throws javax.naming.NamingException- Specified by:
setDebugUnreturnedConnectionStackTracesin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
setForceSynchronousCheckins
public void setForceSynchronousCheckins(boolean forceSynchronousCheckins) throws javax.naming.NamingException- Specified by:
setForceSynchronousCheckinsin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
setMaxAdministrativeTaskTime
public void setMaxAdministrativeTaskTime(int maxAdministrativeTaskTime) throws javax.naming.NamingException- Specified by:
setMaxAdministrativeTaskTimein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
setMaxConnectionAge
public void setMaxConnectionAge(int maxConnectionAge) throws javax.naming.NamingException- Specified by:
setMaxConnectionAgein interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
setMaxIdleTimeExcessConnections
public void setMaxIdleTimeExcessConnections(int maxIdleTimeExcessConnections) throws javax.naming.NamingException- Specified by:
setMaxIdleTimeExcessConnectionsin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
setUnreturnedConnectionTimeout
public void setUnreturnedConnectionTimeout(int unreturnedConnectionTimeout) throws javax.naming.NamingException- Specified by:
setUnreturnedConnectionTimeoutin interfaceC3P0PooledDataSourceMBean- Throws:
javax.naming.NamingException
-
-