Package com.alibaba.druid.pool
Interface DruidAbstractDataSourceMBean
-
- All Known Subinterfaces:
DruidDataSourceMBean
- All Known Implementing Classes:
DruidAbstractDataSource,DruidDataSource,DruidQuartzConnectionProvider,DruidXADataSource
public interface DruidAbstractDataSourceMBean
-
-
Method Summary
-
-
-
Method Detail
-
getLoginTimeout
int getLoginTimeout()
-
getDbType
String getDbType()
-
getName
String getName()
-
getInitialSize
int getInitialSize()
-
getUsername
String getUsername()
-
getUrl
String getUrl()
-
getDriverClassName
String getDriverClassName()
-
getConnectCount
long getConnectCount()
-
getCloseCount
long getCloseCount()
-
getConnectErrorCount
long getConnectErrorCount()
-
getPoolingCount
int getPoolingCount()
-
getRecycleCount
long getRecycleCount()
-
getActiveCount
int getActiveCount()
-
getCreateCount
long getCreateCount()
-
getDestroyCount
long getDestroyCount()
-
getCreateTimespanMillis
long getCreateTimespanMillis()
-
getCommitCount
long getCommitCount()
-
getRollbackCount
long getRollbackCount()
-
getStartTransactionCount
long getStartTransactionCount()
-
getQueryTimeout
int getQueryTimeout()
-
getTransactionQueryTimeout
int getTransactionQueryTimeout()
-
getValidationQuery
String getValidationQuery()
-
getValidationQueryTimeout
int getValidationQueryTimeout()
-
getMaxWaitThreadCount
int getMaxWaitThreadCount()
-
getTimeBetweenEvictionRunsMillis
long getTimeBetweenEvictionRunsMillis()
-
getMinEvictableIdleTimeMillis
long getMinEvictableIdleTimeMillis()
-
isRemoveAbandoned
boolean isRemoveAbandoned()
-
getRemoveAbandonedTimeoutMillis
long getRemoveAbandonedTimeoutMillis()
-
isTestOnBorrow
boolean isTestOnBorrow()
-
setTestOnBorrow
void setTestOnBorrow(boolean testOnBorrow)
-
isTestOnReturn
boolean isTestOnReturn()
-
isTestWhileIdle
boolean isTestWhileIdle()
-
setTestWhileIdle
void setTestWhileIdle(boolean testWhileIdle)
-
isDefaultAutoCommit
boolean isDefaultAutoCommit()
-
getDefaultReadOnly
Boolean getDefaultReadOnly()
-
getDefaultTransactionIsolation
Integer getDefaultTransactionIsolation()
-
getDefaultCatalog
String getDefaultCatalog()
-
isPoolPreparedStatements
boolean isPoolPreparedStatements()
-
isSharePreparedStatements
boolean isSharePreparedStatements()
-
getMaxWait
long getMaxWait()
-
getMinIdle
int getMinIdle()
-
getMaxIdle
int getMaxIdle()
-
getCreateErrorCount
long getCreateErrorCount()
-
getMaxActive
int getMaxActive()
-
setMaxActive
void setMaxActive(int maxActive)
-
getTimeBetweenConnectErrorMillis
long getTimeBetweenConnectErrorMillis()
-
getMaxOpenPreparedStatements
int getMaxOpenPreparedStatements()
-
getRemoveAbandonedCount
long getRemoveAbandonedCount()
-
isLogAbandoned
boolean isLogAbandoned()
-
setLogAbandoned
void setLogAbandoned(boolean logAbandoned)
-
getDupCloseCount
long getDupCloseCount()
-
isBreakAfterAcquireFailure
boolean isBreakAfterAcquireFailure()
-
getConnectionErrorRetryAttempts
int getConnectionErrorRetryAttempts()
-
getMaxPoolPreparedStatementPerConnectionSize
int getMaxPoolPreparedStatementPerConnectionSize()
-
setMaxPoolPreparedStatementPerConnectionSize
void setMaxPoolPreparedStatementPerConnectionSize(int maxPoolPreparedStatementPerConnectionSize)
-
getProperties
String getProperties()
-
getRawDriverMinorVersion
int getRawDriverMinorVersion()
-
getRawDriverMajorVersion
int getRawDriverMajorVersion()
-
getCreatedTime
Date getCreatedTime()
-
getValidConnectionCheckerClassName
String getValidConnectionCheckerClassName()
-
getTransactionHistogramValues
long[] getTransactionHistogramValues()
-
setTransactionThresholdMillis
void setTransactionThresholdMillis(long transactionThresholdMillis)
-
getTransactionThresholdMillis
long getTransactionThresholdMillis()
-
getPreparedStatementCount
long getPreparedStatementCount()
-
getClosedPreparedStatementCount
long getClosedPreparedStatementCount()
-
getCachedPreparedStatementCount
long getCachedPreparedStatementCount()
-
getCachedPreparedStatementDeleteCount
long getCachedPreparedStatementDeleteCount()
-
getCachedPreparedStatementAccessCount
long getCachedPreparedStatementAccessCount()
-
getCachedPreparedStatementMissCount
long getCachedPreparedStatementMissCount()
-
getCachedPreparedStatementHitCount
long getCachedPreparedStatementHitCount()
-
isUseOracleImplicitCache
boolean isUseOracleImplicitCache()
-
setUseOracleImplicitCache
void setUseOracleImplicitCache(boolean useOracleImplicitCache)
-
getDriverMajorVersion
int getDriverMajorVersion()
-
getDriverMinorVersion
int getDriverMinorVersion()
-
getExceptionSorterClassName
String getExceptionSorterClassName()
-
-