Package com.alibaba.druid.pool
Interface DruidAbstractDataSourceMBean
- All Known Subinterfaces:
DruidDataSourceMBean
- All Known Implementing Classes:
DruidAbstractDataSource,DruidDataSource,DruidQuartzConnectionProvider,DruidXADataSource
public interface DruidAbstractDataSourceMBean
-
Method Summary
Modifier and TypeMethodDescriptionintlonglonglonglonglonglonglonglonglonglongintlonglonglonglongintintlongintintintintintintlongintlongintgetName()intlongintintintlonglonglonglonglonglonglonglong[]intlonggetUrl()intbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetLogAbandoned(boolean logAbandoned) voidsetMaxActive(int maxActive) voidsetMaxPoolPreparedStatementPerConnectionSize(int maxPoolPreparedStatementPerConnectionSize) voidsetTestOnBorrow(boolean testOnBorrow) voidsetTestWhileIdle(boolean testWhileIdle) voidsetTransactionThresholdMillis(long transactionThresholdMillis) voidsetUseOracleImplicitCache(boolean useOracleImplicitCache)
-
Method Details
-
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() -
getActiveConnectionStackTrace
-
getFilterClassNames
-
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() -
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()
-