Package com.alibaba.druid.pool
Interface DruidDataSourceC3P0AdapterMBean
-
- All Known Implementing Classes:
DruidDataSourceC3P0Adapter
public interface DruidDataSourceC3P0AdapterMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()intgetCheckoutTimeout()StringgetDataSourceName()StringgetDriverClass()intgetIdleConnectionTestPeriod()intgetInitialPoolSize()StringgetJdbcUrl()intgetLockQueueLength()intgetMaxIdleTime()intgetMaxPoolSize()intgetMinPoolSize()intgetNumBusyConnections()intgetNumConnections()intgetNumIdleConnections()StringgetPreferredTestQuery()PropertiesgetProperties()StringgetUser()intgetWaitThreadCount()booleanisAutoCommitOnClose()booleanisEnable()booleanisTestConnectionOnCheckin()booleanisTestConnectionOnCheckout()voidshrink()StringtoString()
-
-
-
Method Detail
-
getDriverClass
String getDriverClass()
-
getJdbcUrl
String getJdbcUrl()
-
getProperties
Properties getProperties()
-
getUser
String getUser()
-
getCheckoutTimeout
int getCheckoutTimeout()
-
isAutoCommitOnClose
boolean isAutoCommitOnClose()
-
getIdleConnectionTestPeriod
int getIdleConnectionTestPeriod()
-
getInitialPoolSize
int getInitialPoolSize()
-
getMaxIdleTime
int getMaxIdleTime()
-
getMaxPoolSize
int getMaxPoolSize()
-
getMinPoolSize
int getMinPoolSize()
-
isTestConnectionOnCheckout
boolean isTestConnectionOnCheckout()
-
isTestConnectionOnCheckin
boolean isTestConnectionOnCheckin()
-
getPreferredTestQuery
String getPreferredTestQuery()
-
getNumIdleConnections
int getNumIdleConnections()
-
getNumConnections
int getNumConnections()
-
getDataSourceName
String getDataSourceName()
-
getNumBusyConnections
int getNumBusyConnections()
-
isEnable
boolean isEnable()
-
shrink
void shrink()
-
getWaitThreadCount
int getWaitThreadCount()
-
getLockQueueLength
int getLockQueueLength()
-
close
void close()
-
-