public class TempRestrictionConfig extends Configuration
构造器和说明 |
---|
TempRestrictionConfig() |
限定符和类型 | 方法和说明 |
---|---|
static TempRestrictionConfig |
getInstance() |
int |
getMaxDSRowCount() |
int |
getMaxSQLTime() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
java.lang.String |
getRowOverMsg() |
java.lang.String |
getSqlTimeOverMsg() |
boolean |
isOpenRowControl() |
boolean |
isOpenSQLTimeControl() |
void |
setMaxDSRowCount(int maxDSRowCount) |
void |
setMaxSQLTime(int maxSQLTime) |
void |
setOpenRowControl(boolean openRowControl) |
void |
setOpenSQLTimeControl(boolean openSQLTimeControl) |
void |
setRowOverMsg(java.lang.String rowOverMsg) |
void |
setSqlTimeOverMsg(java.lang.String sqlTimeOverMsg) |
clone, initialize, mirror
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public static TempRestrictionConfig getInstance()
public boolean isOpenRowControl()
public void setOpenRowControl(boolean openRowControl)
public boolean isOpenSQLTimeControl()
public void setOpenSQLTimeControl(boolean openSQLTimeControl)
public int getMaxDSRowCount()
public void setMaxDSRowCount(int maxDSRowCount)
public int getMaxSQLTime()
public void setMaxSQLTime(int maxSQLTime)
public java.lang.String getRowOverMsg()
public void setRowOverMsg(java.lang.String rowOverMsg)
public java.lang.String getSqlTimeOverMsg()
public void setSqlTimeOverMsg(java.lang.String sqlTimeOverMsg)