public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearStatementCache() |
String |
dump() |
int |
getActivePeak() |
Date |
getActivePeakTime() |
long |
getDiscardCount() |
long |
getErrorCount() |
int |
getLockQueueLength() |
long |
getNotEmptySignalCount() |
long |
getNotEmptyWaitCount() |
long |
getNotEmptyWaitMillis() |
long |
getNotEmptyWaitNanos() |
int |
getNotEmptyWaitThreadCount() |
ObjectName |
getObjectName() |
int |
getPoolingPeak() |
Date |
getPoolingPeakTime() |
String |
getVersion() |
int |
getWaitThreadCount() |
boolean |
isEnable() |
boolean |
isResetStatEnable() |
int |
removeAbandoned() |
void |
resetStat() |
void |
setPoolPreparedStatements(boolean poolPreparedStatements) |
void |
setResetStatEnable(boolean resetStatEnable) |
void |
shrink() |
getActiveConnectionStackTrace, getActiveCount, getCachedPreparedStatementAccessCount, getCachedPreparedStatementCount, getCachedPreparedStatementDeleteCount, getCachedPreparedStatementHitCount, getCachedPreparedStatementMissCount, getCloseCount, getClosedPreparedStatementCount, getCommitCount, getConnectCount, getConnectErrorCount, getConnectionErrorRetryAttempts, getCreateCount, getCreatedTime, getCreateErrorCount, getCreateTimespanMillis, getDbType, getDefaultCatalog, getDefaultReadOnly, getDefaultTransactionIsolation, getDestroyCount, getDriverClassName, getDriverMajorVersion, getDriverMinorVersion, getDupCloseCount, getExceptionSorterClassName, getFilterClassNames, getInitialSize, getLoginTimeout, getMaxActive, getMaxIdle, getMaxOpenPreparedStatements, getMaxPoolPreparedStatementPerConnectionSize, getMaxWait, getMaxWaitThreadCount, getMinEvictableIdleTimeMillis, getMinIdle, getName, getPoolingCount, getPreparedStatementCount, getProperties, getQueryTimeout, getRawDriverMajorVersion, getRawDriverMinorVersion, getRecycleCount, getRemoveAbandonedCount, getRemoveAbandonedTimeoutMillis, getRollbackCount, getStartTransactionCount, getTimeBetweenConnectErrorMillis, getTimeBetweenEvictionRunsMillis, getTransactionHistogramValues, getTransactionQueryTimeout, getTransactionThresholdMillis, getUrl, getUsername, getValidationQuery, getValidationQueryTimeout, getValidConnectionCheckerClassName, isBreakAfterAcquireFailure, isDefaultAutoCommit, isLogAbandoned, isPoolPreparedStatements, isRemoveAbandoned, isSharePreparedStatements, isTestOnBorrow, isTestOnReturn, isTestWhileIdle, isUseOracleImplicitCache, setLogAbandoned, setMaxPoolPreparedStatementPerConnectionSize, setTestOnBorrow, setTestWhileIdle, setTransactionThresholdMillis, setUseOracleImplicitCacheboolean isEnable()
void shrink()
int removeAbandoned()
String dump()
int getWaitThreadCount()
int getLockQueueLength()
long getNotEmptyWaitCount()
int getNotEmptyWaitThreadCount()
long getNotEmptySignalCount()
long getNotEmptyWaitMillis()
long getNotEmptyWaitNanos()
void resetStat()
boolean isResetStatEnable()
void setResetStatEnable(boolean resetStatEnable)
String getVersion()
void setPoolPreparedStatements(boolean poolPreparedStatements)
int getActivePeak()
int getPoolingPeak()
Date getActivePeakTime()
Date getPoolingPeakTime()
long getErrorCount()
ObjectName getObjectName()
void clearStatementCache()
throws SQLException
SQLExceptionlong getDiscardCount()
Copyright © 2012 Alibaba Group. All Rights Reserved.