自己维护notEmptyWaitThreadCount计数

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@714 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-10 13:38:22 +00:00
parent 90b14ec70b
commit edd7812d3e
3 changed files with 7 additions and 1 deletions
@@ -1009,6 +1009,10 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
return notEmptyWaitCount;
}
public int getNotEmptyWaitThreadCount() {
return notEmptyWaitThreadCount;
}
public long getNotEmptySignalCount() {
return notEmptySignalCount;
}
@@ -34,6 +34,8 @@ public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean {
int getLockQueueLength();
long getNotEmptyWaitCount();
int getNotEmptyWaitThreadCount();
long getNotEmptySignalCount();