DruidDataSource.getStatDataForMBean() should use getActiveCount for ActiveCount, just as getStatData() does.

This commit is contained in:
laogao
2015-11-30 14:41:42 +08:00
parent 4bebaa9d86
commit 3eb0b61549
@@ -2170,7 +2170,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
// 5 - 9
map.put("CloseCount", this.getCloseCount());
map.put("ActiveCount", this.getActivePeak());
map.put("ActiveCount", this.getActiveCount());
map.put("PoolingCount", this.getPoolingCount());
map.put("LockQueueLength", this.getLockQueueLength());
map.put("WaitThreadCount", this.getNotEmptyWaitThreadPeak());