public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearStatementCache() |
String |
dump() |
int |
fill() |
int |
fill(int toCount) |
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() |
long |
getResetCount() |
long |
getTimeBetweenLogStatsMillis() |
String |
getVersion() |
int |
getWaitThreadCount() |
boolean |
isEnable() |
boolean |
isResetStatEnable() |
int |
removeAbandoned() |
void |
resetStat() |
void |
setConnectionProperties(String connectionProperties) |
void |
setPoolPreparedStatements(boolean poolPreparedStatements) |
void |
setResetStatEnable(boolean resetStatEnable) |
void |
setStatLoggerClassName(String className) |
void |
setTimeBetweenLogStatsMillis(long timeBetweenLogStatsMillis) |
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, setMaxActive, setMaxPoolPreparedStatementPerConnectionSize, setTestOnBorrow, setTestWhileIdle, setTransactionThresholdMillis, setUseOracleImplicitCachelong getResetCount()
boolean 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()
void setStatLoggerClassName(String className)
long getTimeBetweenLogStatsMillis()
void setTimeBetweenLogStatsMillis(long timeBetweenLogStatsMillis)
void setConnectionProperties(String connectionProperties)
int fill()
throws SQLException
SQLExceptionint fill(int toCount)
throws SQLException
SQLExceptionCopyright © 2013-2014 Alibaba Group. All Rights Reserved.