JMX增强

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@705 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-09 16:40:29 +00:00
parent 8b36173bd0
commit 16c6a42d1b
6 changed files with 67 additions and 46 deletions
@@ -24,6 +24,8 @@ public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean {
void shrink();
int removeAbandoned();
String toString();
int getWaitThreadCount();
@@ -31,7 +33,7 @@ public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean {
int getLockQueueLength();
long getNotEmptyWaitCount();
long getNotEmptySignalCount();
long getNotEmptyWaitMillis();
@@ -39,10 +41,10 @@ public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean {
long getNotEmptyWaitNanos();
void resetStat();
boolean isResetStatEnable();
void setResetStatEnable(boolean resetStatEnable);
String getVersion();
}