Package com.alibaba.druid.wall
Interface WallFilterMBean
- All Known Implementing Classes:
WallFilter
public interface WallFilterMBean
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkValid
(String sql) void
void
long
boolean
isInited()
boolean
boolean
void
void
setLogViolation
(boolean logViolation) void
setThrowException
(boolean throwException)
-
Method Details
-
getDbType
String getDbType() -
isLogViolation
boolean isLogViolation() -
setLogViolation
void setLogViolation(boolean logViolation) -
isThrowException
boolean isThrowException() -
setThrowException
void setThrowException(boolean throwException) -
isInited
boolean isInited() -
clearProviderCache
void clearProviderCache() -
getProviderWhiteList
-
check
- Throws:
SQLException
-
getViolationCount
long getViolationCount() -
resetViolationCount
void resetViolationCount() -
clearWhiteList
void clearWhiteList() -
checkValid
-