mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
remove unused code
This commit is contained in:
@@ -63,8 +63,6 @@ public class JdbcDataSourceStat implements JdbcDataSourceStatMBean {
|
||||
//
|
||||
});
|
||||
|
||||
// private final ConcurrentMap<String, JdbcSqlStat> sqlStatMap = new ConcurrentHashMap<String, JdbcSqlStat>();
|
||||
|
||||
private final ConcurrentMap<Long, JdbcConnectionStat.Entry> connections = new ConcurrentHashMap<Long, JdbcConnectionStat.Entry>();
|
||||
|
||||
public JdbcDataSourceStat(String name, String url){
|
||||
@@ -124,7 +122,6 @@ public class JdbcDataSourceStat implements JdbcDataSourceStatMBean {
|
||||
for (JdbcConnectionStat.Entry connectionStat : connections.values()) {
|
||||
connectionStat.reset();
|
||||
}
|
||||
// connections.clear();
|
||||
}
|
||||
|
||||
public Histogram getConnectionHoldHistogram() {
|
||||
|
||||
Reference in New Issue
Block a user