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@261 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -15,60 +15,10 @@
|
||||
*/
|
||||
package com.alibaba.druid.pool;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
public interface DruidDataSourceMBean {
|
||||
|
||||
String getName();
|
||||
public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean {
|
||||
|
||||
int getInitialSize();
|
||||
|
||||
String getUsername();
|
||||
|
||||
String getPassword();
|
||||
|
||||
String getUrl();
|
||||
|
||||
String getDriverClassName();
|
||||
|
||||
long getConnectCount();
|
||||
|
||||
long getCloseCount();
|
||||
|
||||
long getConnectErrorCount();
|
||||
|
||||
int getPoolingCount();
|
||||
|
||||
long getRecycleCount();
|
||||
|
||||
int getActiveCount();
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user