Files
Druid/src/main/java/com/alibaba/druid/pool/DruidAbstractDataSourceMBean.java
T
wenshao 508a6aab09 完善监控
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@922 b9813039-fb51-4c41-a8b9-e21c2acb5095
2011-09-29 02:22:28 +00:00

125 lines
2.3 KiB
Java

package com.alibaba.druid.pool;
import java.util.Date;
import java.util.List;
public interface DruidAbstractDataSourceMBean {
int getLoginTimeout();
String getDbType();
String getName();
int getInitialSize();
String getUsername();
String getUrl();
String getDriverClassName();
long getConnectCount();
long getCloseCount();
long getConnectErrorCount();
int getPoolingCount();
long getRecycleCount();
int getActiveCount();
long getCreateCount();
long getDestroyCount();
long getCreateTimespanMillis();
long getCommitCount();
long getRollbackCount();
long getStartTransactionCount();
int getQueryTimeout();
String getValidationQuery();
int getValidationQueryTimeout();
int getMaxWaitThreadCount();
long getTimeBetweenEvictionRunsMillis();
long getMinEvictableIdleTimeMillis();
boolean isRemoveAbandoned();
long getRemoveAbandonedTimeoutMillis();
List<String> getActiveConnectionStackTrace();
List<String> getFilterClassNames();
boolean isTestOnBorrow();
boolean isTestOnReturn();
boolean isDefaultAutoCommit();
Boolean getDefaultReadOnly();
Integer getDefaultTransactionIsolation();
String getDefaultCatalog();
boolean isPoolPreparedStatements();
long getMaxWait();
int getMinIdle();
int getMaxIdle();
long getCreateErrorCount();
int getMaxActive();
long getTimeBetweenConnectErrorMillis();
int getMaxOpenPreparedStatements();
long getRemoveAbandonedCount();
boolean isLogAbandoned();
long getDupCloseCount();
boolean isBreakAfterAcquireFailure();
int getConnectionErrorRetryAttempts();
int getMaxPoolPreparedStatementPerConnectionSize();
void setMaxPoolPreparedStatementPerConnectionSize(int maxPoolPreparedStatementPerConnectionSize);
String getProperties();
int getRawDriverMinorVersion();
int getRawDriverMajorVersion();
Date getCreatedTime();
String getValidConnectionCheckerClassName();
long[] getTransactionHistogramValues();
void setTransactionThresholdMillis(long transactionThresholdMillis);
long getTransactionThresholdMillis();
long getReusePreparedStatement();
}