mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@387 b9813039-fb51-4c41-a8b9-e21c2acb5095
89 lines
1.5 KiB
Java
89 lines
1.5 KiB
Java
package com.alibaba.druid.pool;
|
|
|
|
import java.util.List;
|
|
|
|
public interface DruidAbstractDataSourceMBean {
|
|
|
|
String getDbType();
|
|
|
|
String getName();
|
|
|
|
int getInitialSize();
|
|
|
|
String getUsername();
|
|
|
|
String getPassword();
|
|
|
|
String getUrl();
|
|
|
|
String getDriverClassName();
|
|
|
|
long getConnectCount();
|
|
|
|
long getCloseCount();
|
|
|
|
long getConnectErrorCount();
|
|
|
|
int getPoolingCount();
|
|
|
|
long getRecycleCount();
|
|
|
|
int getActiveCount();
|
|
|
|
long getIdleCheckCount();
|
|
|
|
long getCreateCount();
|
|
|
|
long getDestroyCount();
|
|
|
|
long getCreateTimespanMillis();
|
|
|
|
int getQueryTimeout();
|
|
|
|
String getValidationQuery();
|
|
|
|
int getValidationQueryTimeout();
|
|
|
|
int getMaxWaitThreadCount();
|
|
|
|
long getTimeBetweenEvictionRunsMillis();
|
|
|
|
long getMinEvictableIdleTimeMillis();
|
|
|
|
boolean isActiveConnectionTraceEnable();
|
|
|
|
void setActiveConnectionTraceEnable(boolean connectStackTraceEnable);
|
|
|
|
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();
|
|
}
|