public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean
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
SQLExceptionboolean isUseGlobalDataSourceStat()
Copyright © 2013–2018 Alibaba Group. All rights reserved.