mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
refactor for reset
This commit is contained in:
@@ -306,7 +306,7 @@ public class JdbcStatManager implements JdbcStatManagerMBean {
|
||||
TabularData data = new TabularDataSupport(tabularType);
|
||||
|
||||
for (JdbcDataSourceStat dataSource : dataSources.values()) {
|
||||
ConcurrentMap<String, JdbcSqlStat> statMap = dataSource.getSqlStatMap();
|
||||
Map<String, JdbcSqlStat> statMap = dataSource.getSqlStatMap();
|
||||
for (Map.Entry<String, JdbcSqlStat> entry : statMap.entrySet()) {
|
||||
Map<String, Object> map = entry.getValue().getData();
|
||||
map.put("URL", dataSource.getUrl());
|
||||
|
||||
Reference in New Issue
Block a user