public interface C3P0PooledDataSourceMBean
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
create() |
void |
destroy() |
int |
getAcquireIncrement() |
int |
getAcquireRetryAttempts() |
int |
getAcquireRetryDelay() |
java.lang.String |
getAutomaticTestTable() |
int |
getCheckoutTimeout() |
java.lang.String |
getConnectionCustomizerClassName() |
java.lang.String |
getConnectionTesterClassName() |
java.lang.String |
getDescription() |
java.lang.String |
getDriverClass() |
float |
getEffectivePropertyCycle(java.lang.String username,
java.lang.String password) |
float |
getEffectivePropertyCycleDefaultUser() |
java.lang.String |
getFactoryClassLocation() |
int |
getIdleConnectionTestPeriod() |
int |
getInitialPoolSize() |
java.lang.String |
getJdbcUrl() |
java.lang.String |
getJndiName() |
int |
getMaxAdministrativeTaskTime() |
int |
getMaxConnectionAge() |
int |
getMaxIdleTime() |
int |
getMaxIdleTimeExcessConnections() |
int |
getMaxPoolSize() |
int |
getMaxStatements() |
int |
getMaxStatementsPerConnection() |
int |
getMinPoolSize() |
int |
getNumBusyConnections(java.lang.String username,
java.lang.String password) |
int |
getNumBusyConnectionsAllUsers() |
int |
getNumBusyConnectionsDefaultUser() |
int |
getNumConnections(java.lang.String username,
java.lang.String password) |
int |
getNumConnectionsAllUsers() |
int |
getNumConnectionsDefaultUser() |
int |
getNumHelperThreads() |
int |
getNumIdleConnections(java.lang.String username,
java.lang.String password) |
int |
getNumIdleConnectionsAllUsers() |
int |
getNumIdleConnectionsDefaultUser() |
int |
getNumUnclosedOrphanedConnections(java.lang.String username,
java.lang.String password) |
int |
getNumUnclosedOrphanedConnectionsAllUsers() |
int |
getNumUnclosedOrphanedConnectionsDefaultUser() |
int |
getNumUserPools() |
java.lang.String |
getPassword() |
java.lang.String |
getPreferredTestQuery() |
int |
getPropertyCycle() |
int |
getUnreturnedConnectionTimeout() |
java.lang.String |
getUser() |
void |
hardReset() |
boolean |
isAutoCommitOnClose() |
boolean |
isBreakAfterAcquireFailure() |
boolean |
isDebugUnreturnedConnectionStackTraces() |
boolean |
isForceIgnoreUnresolvedTransactions() |
boolean |
isTestConnectionOnCheckin() |
boolean |
isTestConnectionOnCheckout() |
boolean |
isUsesTraditionalReflectiveProxies() |
void |
setAcquireIncrement(int acquireIncrement) |
void |
setAcquireRetryAttempts(int acquireRetryAttempts) |
void |
setAcquireRetryDelay(int acquireRetryDelay) |
void |
setAutoCommitOnClose(boolean autoCommitOnClose) |
void |
setAutomaticTestTable(java.lang.String automaticTestTable) |
void |
setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) |
void |
setCheckoutTimeout(int checkoutTimeout) |
void |
setConnectionCustomizerClassName(java.lang.String connectionCustomizerClassName) |
void |
setConnectionTesterClassName(java.lang.String connectionTesterClassName) |
void |
setDebugUnreturnedConnectionStackTraces(boolean debugUnreturnedConnectionStackTraces) |
void |
setDescription(java.lang.String description) |
void |
setDriverClass(java.lang.String driverClass) |
void |
setFactoryClassLocation(java.lang.String factoryClassLocation) |
void |
setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) |
void |
setIdleConnectionTestPeriod(int idleConnectionTestPeriod) |
void |
setInitialPoolSize(int initialPoolSize) |
void |
setJdbcUrl(java.lang.String jdbcUrl) |
void |
setJndiName(java.lang.String jndiName) |
void |
setMaxAdministrativeTaskTime(int maxAdministrativeTaskTime) |
void |
setMaxConnectionAge(int maxConnectionAge) |
void |
setMaxIdleTime(int maxIdleTime) |
void |
setMaxIdleTimeExcessConnections(int maxIdleTimeExcessConnections) |
void |
setMaxPoolSize(int maxPoolSize) |
void |
setMaxStatements(int maxStatements) |
void |
setMaxStatementsPerConnection(int maxStatementsPerConnection) |
void |
setMinPoolSize(int minPoolSize) |
void |
setNumHelperThreads(int numHelperThreads) |
void |
setPassword(java.lang.String password) |
void |
setPreferredTestQuery(java.lang.String preferredTestQuery) |
void |
setPropertyCycle(int propertyCycle) |
void |
setTestConnectionOnCheckin(boolean testConnectionOnCheckin) |
void |
setTestConnectionOnCheckout(boolean testConnectionOnCheckout) |
void |
setUnreturnedConnectionTimeout(int unreturnedConnectionTimeout) |
void |
setUser(java.lang.String user) |
void |
setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) |
void |
softReset(java.lang.String username,
java.lang.String password) |
void |
softResetAllUsers() |
void |
softResetDefaultUser() |
void |
start() |
void |
stop() |
void setJndiName(java.lang.String jndiName) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getJndiName()
java.lang.String getDescription()
void setDescription(java.lang.String description) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getDriverClass()
void setDriverClass(java.lang.String driverClass) throws java.beans.PropertyVetoException, javax.naming.NamingException
java.beans.PropertyVetoException
javax.naming.NamingException
java.lang.String getJdbcUrl()
void setJdbcUrl(java.lang.String jdbcUrl) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getUser()
void setUser(java.lang.String user) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getPassword()
void setPassword(java.lang.String password) throws javax.naming.NamingException
javax.naming.NamingException
int getUnreturnedConnectionTimeout()
void setUnreturnedConnectionTimeout(int unreturnedConnectionTimeout) throws javax.naming.NamingException
javax.naming.NamingException
boolean isDebugUnreturnedConnectionStackTraces()
void setDebugUnreturnedConnectionStackTraces(boolean debugUnreturnedConnectionStackTraces) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getConnectionCustomizerClassName()
void setConnectionCustomizerClassName(java.lang.String connectionCustomizerClassName) throws javax.naming.NamingException
javax.naming.NamingException
int getMaxConnectionAge()
void setMaxConnectionAge(int maxConnectionAge) throws javax.naming.NamingException
javax.naming.NamingException
int getMaxIdleTimeExcessConnections()
void setMaxIdleTimeExcessConnections(int maxIdleTimeExcessConnections) throws javax.naming.NamingException
javax.naming.NamingException
int getMaxAdministrativeTaskTime()
void setMaxAdministrativeTaskTime(int maxAdministrativeTaskTime) throws javax.naming.NamingException
javax.naming.NamingException
int getCheckoutTimeout()
void setCheckoutTimeout(int checkoutTimeout) throws javax.naming.NamingException
javax.naming.NamingException
int getAcquireIncrement()
void setAcquireIncrement(int acquireIncrement) throws javax.naming.NamingException
javax.naming.NamingException
int getAcquireRetryAttempts()
void setAcquireRetryAttempts(int acquireRetryAttempts) throws javax.naming.NamingException
javax.naming.NamingException
int getAcquireRetryDelay()
void setAcquireRetryDelay(int acquireRetryDelay) throws javax.naming.NamingException
javax.naming.NamingException
boolean isAutoCommitOnClose()
void setAutoCommitOnClose(boolean autoCommitOnClose) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getConnectionTesterClassName()
void setConnectionTesterClassName(java.lang.String connectionTesterClassName) throws java.beans.PropertyVetoException, javax.naming.NamingException
java.beans.PropertyVetoException
javax.naming.NamingException
java.lang.String getAutomaticTestTable()
void setAutomaticTestTable(java.lang.String automaticTestTable) throws javax.naming.NamingException
javax.naming.NamingException
boolean isForceIgnoreUnresolvedTransactions()
void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws javax.naming.NamingException
javax.naming.NamingException
int getIdleConnectionTestPeriod()
void setIdleConnectionTestPeriod(int idleConnectionTestPeriod) throws javax.naming.NamingException
javax.naming.NamingException
int getInitialPoolSize()
void setInitialPoolSize(int initialPoolSize) throws javax.naming.NamingException
javax.naming.NamingException
int getMaxIdleTime()
void setMaxIdleTime(int maxIdleTime) throws javax.naming.NamingException
javax.naming.NamingException
int getMaxPoolSize()
void setMaxPoolSize(int maxPoolSize) throws javax.naming.NamingException
javax.naming.NamingException
int getMaxStatements()
void setMaxStatements(int maxStatements) throws javax.naming.NamingException
javax.naming.NamingException
int getMaxStatementsPerConnection()
void setMaxStatementsPerConnection(int maxStatementsPerConnection) throws javax.naming.NamingException
javax.naming.NamingException
int getMinPoolSize()
void setMinPoolSize(int minPoolSize) throws javax.naming.NamingException
javax.naming.NamingException
int getPropertyCycle()
void setPropertyCycle(int propertyCycle) throws javax.naming.NamingException
javax.naming.NamingException
boolean isBreakAfterAcquireFailure()
void setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) throws javax.naming.NamingException
javax.naming.NamingException
boolean isTestConnectionOnCheckout()
void setTestConnectionOnCheckout(boolean testConnectionOnCheckout) throws javax.naming.NamingException
javax.naming.NamingException
boolean isTestConnectionOnCheckin()
void setTestConnectionOnCheckin(boolean testConnectionOnCheckin) throws javax.naming.NamingException
javax.naming.NamingException
boolean isUsesTraditionalReflectiveProxies()
void setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getPreferredTestQuery()
void setPreferredTestQuery(java.lang.String preferredTestQuery) throws javax.naming.NamingException
javax.naming.NamingException
int getNumHelperThreads()
void setNumHelperThreads(int numHelperThreads) throws javax.naming.NamingException
javax.naming.NamingException
java.lang.String getFactoryClassLocation()
void setFactoryClassLocation(java.lang.String factoryClassLocation) throws javax.naming.NamingException
javax.naming.NamingException
int getNumUserPools() throws java.sql.SQLException
java.sql.SQLException
int getNumConnectionsDefaultUser() throws java.sql.SQLException
java.sql.SQLException
int getNumIdleConnectionsDefaultUser() throws java.sql.SQLException
java.sql.SQLException
int getNumBusyConnectionsDefaultUser() throws java.sql.SQLException
java.sql.SQLException
int getNumUnclosedOrphanedConnectionsDefaultUser() throws java.sql.SQLException
java.sql.SQLException
int getNumConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
int getNumIdleConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
int getNumBusyConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
int getNumUnclosedOrphanedConnections(java.lang.String username, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
float getEffectivePropertyCycle(java.lang.String username, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
int getNumBusyConnectionsAllUsers() throws java.sql.SQLException
java.sql.SQLException
int getNumIdleConnectionsAllUsers() throws java.sql.SQLException
java.sql.SQLException
int getNumConnectionsAllUsers() throws java.sql.SQLException
java.sql.SQLException
int getNumUnclosedOrphanedConnectionsAllUsers() throws java.sql.SQLException
java.sql.SQLException
float getEffectivePropertyCycleDefaultUser() throws java.sql.SQLException
java.sql.SQLException
void softResetDefaultUser() throws java.sql.SQLException
java.sql.SQLException
void softReset(java.lang.String username, java.lang.String password) throws java.sql.SQLException
java.sql.SQLException
void softResetAllUsers() throws java.sql.SQLException
java.sql.SQLException
void hardReset() throws java.sql.SQLException
java.sql.SQLException
void close() throws java.sql.SQLException
java.sql.SQLException
void create() throws java.lang.Exception
java.lang.Exception
void start() throws java.lang.Exception
java.lang.Exception
void stop()
void destroy()