mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #154 from wenshao/master
StatFilter添加slowSqlMillis和logSlowSql的getter和setter
This commit is contained in:
@@ -102,6 +102,18 @@ public class StatFilter extends FilterEventAdapter implements StatFilterMBean {
|
||||
return slowSqlMillis;
|
||||
}
|
||||
|
||||
public void setSlowSqlMillis(long slowSqlMillis) {
|
||||
this.slowSqlMillis = slowSqlMillis;
|
||||
}
|
||||
|
||||
public boolean isLogSlowSql() {
|
||||
return logSlowSql;
|
||||
}
|
||||
|
||||
public void setLogSlowSql(boolean logSlowSql) {
|
||||
this.logSlowSql = logSlowSql;
|
||||
}
|
||||
|
||||
public boolean isConnectionStackTraceEnable() {
|
||||
return connectionStackTraceEnable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user