mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support monitor
This commit is contained in:
@@ -18,14 +18,31 @@ package com.alibaba.druid.wall;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.alibaba.druid.support.monitor.MField;
|
||||
import com.alibaba.druid.support.monitor.MTable;
|
||||
|
||||
@MTable(name = "druid_wall_sql")
|
||||
public class WallSqlStatValue {
|
||||
|
||||
@MField
|
||||
private String sql;
|
||||
|
||||
@MField
|
||||
private String sqlSample;
|
||||
|
||||
@MField
|
||||
private long executeCount;
|
||||
|
||||
@MField
|
||||
private long fetchRowCount;
|
||||
|
||||
@MField
|
||||
private long updateCount;
|
||||
|
||||
@MField
|
||||
private boolean syntaxError;
|
||||
|
||||
@MField
|
||||
private String violationMessage;
|
||||
|
||||
public WallSqlStatValue(){
|
||||
|
||||
Reference in New Issue
Block a user