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() |
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, setUseOracleImplicitCache
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
SQLException
long getDiscardCount()
void setStatLoggerClassName(String className)
long getTimeBetweenLogStatsMillis()
void setTimeBetweenLogStatsMillis(long timeBetweenLogStatsMillis)
void setConnectionProperties(String connectionProperties)
Copyright © 2012-2013 Alibaba Group. All Rights Reserved.