com.alibaba.druid.pool
接口 DruidAbstractDataSourceMBean

所有已知子接口:
DruidDataSourceMBean
所有已知实现类:
DruidAbstractDataSource, DruidDataSource, DruidXADataSource

public interface DruidAbstractDataSourceMBean


方法摘要
 List<String> getActiveConnectionStackTrace()
           
 int getActiveCount()
           
 long getCachedPreparedStatementAccessCount()
           
 long getCachedPreparedStatementCount()
           
 long getCachedPreparedStatementDeleteCount()
           
 long getCachedPreparedStatementHitCount()
           
 long getCachedPreparedStatementMissCount()
           
 long getCloseCount()
           
 long getClosedPreparedStatementCount()
           
 long getCommitCount()
           
 long getConnectCount()
           
 long getConnectErrorCount()
           
 int getConnectionErrorRetryAttempts()
           
 long getCreateCount()
           
 Date getCreatedTime()
           
 long getCreateErrorCount()
           
 long getCreateTimespanMillis()
           
 String getDbType()
           
 String getDefaultCatalog()
           
 Boolean getDefaultReadOnly()
           
 Integer getDefaultTransactionIsolation()
           
 long getDestroyCount()
           
 String getDriverClassName()
           
 int getDriverMajorVersion()
           
 int getDriverMinorVersion()
           
 long getDupCloseCount()
           
 String getExceptionSorterClassName()
           
 List<String> getFilterClassNames()
           
 int getInitialSize()
           
 int getLoginTimeout()
           
 int getMaxActive()
           
 int getMaxIdle()
           
 int getMaxOpenPreparedStatements()
           
 int getMaxPoolPreparedStatementPerConnectionSize()
           
 long getMaxWait()
           
 int getMaxWaitThreadCount()
           
 long getMinEvictableIdleTimeMillis()
           
 int getMinIdle()
           
 String getName()
           
 int getPoolingCount()
           
 long getPreparedStatementCount()
           
 String getProperties()
           
 int getQueryTimeout()
           
 int getRawDriverMajorVersion()
           
 int getRawDriverMinorVersion()
           
 long getRecycleCount()
           
 long getRemoveAbandonedCount()
           
 long getRemoveAbandonedTimeoutMillis()
           
 long getRollbackCount()
           
 long getStartTransactionCount()
           
 long getTimeBetweenConnectErrorMillis()
           
 long getTimeBetweenEvictionRunsMillis()
           
 long[] getTransactionHistogramValues()
           
 int getTransactionQueryTimeout()
           
 long getTransactionThresholdMillis()
           
 String getUrl()
           
 String getUsername()
           
 String getValidationQuery()
           
 int getValidationQueryTimeout()
           
 String getValidConnectionCheckerClassName()
           
 boolean isBreakAfterAcquireFailure()
           
 boolean isDefaultAutoCommit()
           
 boolean isLogAbandoned()
           
 boolean isPoolPreparedStatements()
           
 boolean isRemoveAbandoned()
           
 boolean isSharePreparedStatements()
           
 boolean isTestOnBorrow()
           
 boolean isTestOnReturn()
           
 boolean isTestWhileIdle()
           
 boolean isUseOracleImplicitCache()
           
 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)
           
 

方法详细信息

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

List<String> getActiveConnectionStackTrace()

getFilterClassNames

List<String> 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()

isSharePreparedStatements

boolean isSharePreparedStatements()

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()


Copyright © 2013 Alibaba Group. All Rights Reserved.