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 TypeMethodDescriptionint
long
long
long
long
long
long
long
long
long
long
int
long
long
long
long
int
int
long
int
int
int
int
int
int
long
int
long
int
getName()
int
long
int
int
int
long
long
long
long
long
long
long
long[]
int
long
getUrl()
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setLogAbandoned
(boolean logAbandoned) void
setMaxActive
(int maxActive) void
setMaxPoolPreparedStatementPerConnectionSize
(int maxPoolPreparedStatementPerConnectionSize) void
setTestOnBorrow
(boolean testOnBorrow) void
setTestWhileIdle
(boolean testWhileIdle) void
setTransactionThresholdMillis
(long transactionThresholdMillis) void
setUseOracleImplicitCache
(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()
-