jmx support enhanced

This commit is contained in:
wenshao
2011-12-23 15:36:23 +08:00
parent a04b6faa3b
commit 9d4d45512b
2 changed files with 20 additions and 3 deletions
@@ -166,10 +166,10 @@ public class DruidDataSourceStatManager implements DruidDataSourceStatManagerMBe
map.put("ConnectCount", dataSource.getConnectCount());
map.put("CloseCount", dataSource.getCloseCount());
map.put("ActiveCount", dataSource.getActiveCount());
map.put("ActiveCount", dataSource.getActivePeak());
map.put("PoolingCount", dataSource.getPoolingCount());
map.put("LockQueueLength", dataSource.getLockQueueLength());
map.put("WaitThreadCount", dataSource.getWaitThreadCount());
map.put("WaitThreadCount", dataSource.getNotEmptyWaitThreadPeak());
map.put("InitialSize", dataSource.getInitialSize());
map.put("MaxActive", dataSource.getMaxActive());