Package com.mchange.v2.c3p0.jboss
Interface C3P0PooledDataSourceMBean
- All Known Implementing Classes:
C3P0PooledDataSource
public interface C3P0PooledDataSourceMBean
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
create()
void
destroy()
int
int
int
int
float
getEffectivePropertyCycle
(String username, String password) float
int
int
int
int
int
int
int
int
int
int
int
getNumBusyConnections
(String username, String password) int
int
int
getNumConnections
(String username, String password) int
int
int
int
getNumIdleConnections
(String username, String password) int
int
int
getNumUnclosedOrphanedConnections
(String username, String password) int
int
int
int
int
getUser()
void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setAcquireIncrement
(int acquireIncrement) void
setAcquireRetryAttempts
(int acquireRetryAttempts) void
setAcquireRetryDelay
(int acquireRetryDelay) void
setAutoCommitOnClose
(boolean autoCommitOnClose) void
setAutomaticTestTable
(String automaticTestTable) void
setBreakAfterAcquireFailure
(boolean breakAfterAcquireFailure) void
setCheckoutTimeout
(int checkoutTimeout) void
setConnectionCustomizerClassName
(String connectionCustomizerClassName) void
setConnectionTesterClassName
(String connectionTesterClassName) void
setDebugUnreturnedConnectionStackTraces
(boolean debugUnreturnedConnectionStackTraces) void
setDescription
(String description) void
setDriverClass
(String driverClass) void
setFactoryClassLocation
(String factoryClassLocation) void
setForceIgnoreUnresolvedTransactions
(boolean forceIgnoreUnresolvedTransactions) void
setForceSynchronousCheckins
(boolean forceSynchronousCheckins) void
setIdleConnectionTestPeriod
(int idleConnectionTestPeriod) void
setInitialPoolSize
(int initialPoolSize) void
setJdbcUrl
(String jdbcUrl) void
setJndiName
(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
(String password) void
setPreferredTestQuery
(String preferredTestQuery) void
setPropertyCycle
(int propertyCycle) void
setTestConnectionOnCheckin
(boolean testConnectionOnCheckin) void
setTestConnectionOnCheckout
(boolean testConnectionOnCheckout) void
setUnreturnedConnectionTimeout
(int unreturnedConnectionTimeout) void
void
setUsesTraditionalReflectiveProxies
(boolean usesTraditionalReflectiveProxies) void
void
void
void
start()
void
stop()
-
Method Details
-
setJndiName
- Throws:
NamingException
-
getJndiName
String getJndiName() -
getDescription
String getDescription() -
setDescription
- Throws:
NamingException
-
getDriverClass
String getDriverClass() -
setDriverClass
- Throws:
PropertyVetoException
NamingException
-
getJdbcUrl
String getJdbcUrl() -
setJdbcUrl
- Throws:
NamingException
-
getUser
String getUser() -
setUser
- Throws:
NamingException
-
getPassword
String getPassword() -
setPassword
- Throws:
NamingException
-
getUnreturnedConnectionTimeout
int getUnreturnedConnectionTimeout() -
setUnreturnedConnectionTimeout
- Throws:
NamingException
-
isDebugUnreturnedConnectionStackTraces
boolean isDebugUnreturnedConnectionStackTraces() -
setDebugUnreturnedConnectionStackTraces
void setDebugUnreturnedConnectionStackTraces(boolean debugUnreturnedConnectionStackTraces) throws NamingException - Throws:
NamingException
-
isForceSynchronousCheckins
boolean isForceSynchronousCheckins() -
setForceSynchronousCheckins
- Throws:
NamingException
-
getConnectionCustomizerClassName
String getConnectionCustomizerClassName() -
setConnectionCustomizerClassName
- Throws:
NamingException
-
getMaxConnectionAge
int getMaxConnectionAge() -
setMaxConnectionAge
- Throws:
NamingException
-
getMaxIdleTimeExcessConnections
int getMaxIdleTimeExcessConnections() -
setMaxIdleTimeExcessConnections
- Throws:
NamingException
-
getMaxAdministrativeTaskTime
int getMaxAdministrativeTaskTime() -
setMaxAdministrativeTaskTime
- Throws:
NamingException
-
getCheckoutTimeout
int getCheckoutTimeout() -
setCheckoutTimeout
- Throws:
NamingException
-
getAcquireIncrement
int getAcquireIncrement() -
setAcquireIncrement
- Throws:
NamingException
-
getAcquireRetryAttempts
int getAcquireRetryAttempts() -
setAcquireRetryAttempts
- Throws:
NamingException
-
getAcquireRetryDelay
int getAcquireRetryDelay() -
setAcquireRetryDelay
- Throws:
NamingException
-
isAutoCommitOnClose
boolean isAutoCommitOnClose() -
setAutoCommitOnClose
- Throws:
NamingException
-
getConnectionTesterClassName
String getConnectionTesterClassName() -
setConnectionTesterClassName
void setConnectionTesterClassName(String connectionTesterClassName) throws PropertyVetoException, NamingException - Throws:
PropertyVetoException
NamingException
-
getAutomaticTestTable
String getAutomaticTestTable() -
setAutomaticTestTable
- Throws:
NamingException
-
isForceIgnoreUnresolvedTransactions
boolean isForceIgnoreUnresolvedTransactions() -
setForceIgnoreUnresolvedTransactions
void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws NamingException - Throws:
NamingException
-
getIdleConnectionTestPeriod
int getIdleConnectionTestPeriod() -
setIdleConnectionTestPeriod
- Throws:
NamingException
-
getInitialPoolSize
int getInitialPoolSize() -
setInitialPoolSize
- Throws:
NamingException
-
getMaxIdleTime
int getMaxIdleTime() -
setMaxIdleTime
- Throws:
NamingException
-
getMaxPoolSize
int getMaxPoolSize() -
setMaxPoolSize
- Throws:
NamingException
-
getMaxStatements
int getMaxStatements() -
setMaxStatements
- Throws:
NamingException
-
getMaxStatementsPerConnection
int getMaxStatementsPerConnection() -
setMaxStatementsPerConnection
- Throws:
NamingException
-
getMinPoolSize
int getMinPoolSize() -
setMinPoolSize
- Throws:
NamingException
-
getPropertyCycle
int getPropertyCycle() -
setPropertyCycle
- Throws:
NamingException
-
isBreakAfterAcquireFailure
boolean isBreakAfterAcquireFailure() -
setBreakAfterAcquireFailure
- Throws:
NamingException
-
isTestConnectionOnCheckout
boolean isTestConnectionOnCheckout() -
setTestConnectionOnCheckout
- Throws:
NamingException
-
isTestConnectionOnCheckin
boolean isTestConnectionOnCheckin() -
setTestConnectionOnCheckin
- Throws:
NamingException
-
isUsesTraditionalReflectiveProxies
boolean isUsesTraditionalReflectiveProxies() -
setUsesTraditionalReflectiveProxies
void setUsesTraditionalReflectiveProxies(boolean usesTraditionalReflectiveProxies) throws NamingException - Throws:
NamingException
-
getPreferredTestQuery
String getPreferredTestQuery() -
setPreferredTestQuery
- Throws:
NamingException
-
getNumHelperThreads
int getNumHelperThreads() -
setNumHelperThreads
- Throws:
NamingException
-
getFactoryClassLocation
String getFactoryClassLocation() -
setFactoryClassLocation
- Throws:
NamingException
-
getNumUserPools
- Throws:
SQLException
-
getNumConnectionsDefaultUser
- Throws:
SQLException
-
getNumIdleConnectionsDefaultUser
- Throws:
SQLException
-
getNumBusyConnectionsDefaultUser
- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsDefaultUser
- Throws:
SQLException
-
getNumConnections
- Throws:
SQLException
-
getNumIdleConnections
- Throws:
SQLException
-
getNumBusyConnections
- Throws:
SQLException
-
getNumUnclosedOrphanedConnections
- Throws:
SQLException
-
getEffectivePropertyCycle
- Throws:
SQLException
-
getNumBusyConnectionsAllUsers
- Throws:
SQLException
-
getNumIdleConnectionsAllUsers
- Throws:
SQLException
-
getNumConnectionsAllUsers
- Throws:
SQLException
-
getNumUnclosedOrphanedConnectionsAllUsers
- Throws:
SQLException
-
getEffectivePropertyCycleDefaultUser
- Throws:
SQLException
-
softResetDefaultUser
- Throws:
SQLException
-
softReset
- Throws:
SQLException
-
softResetAllUsers
- Throws:
SQLException
-
hardReset
- Throws:
SQLException
-
close
- Throws:
SQLException
-
create
- Throws:
Exception
-
start
- Throws:
Exception
-
stop
void stop() -
destroy
void destroy()
-