Class JdbcProperties.SlowQuery
java.lang.Object
net.ttddyy.observation.boot.autoconfigure.JdbcProperties.SlowQuery
- Enclosing class:
- JdbcProperties
Properties to configure slow query logging listener.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
void
setEnableLogging
(boolean enableLogging) void
setLoggerName
(String loggerName) void
setLogLevel
(String logLevel) void
setThreshold
(long threshold)
-
Constructor Details
-
SlowQuery
public SlowQuery()
-
-
Method Details
-
isEnableLogging
public boolean isEnableLogging() -
setEnableLogging
public void setEnableLogging(boolean enableLogging) -
getLoggerName
-
setLoggerName
-
getLogLevel
-
setLogLevel
-
getThreshold
public long getThreshold() -
setThreshold
public void setThreshold(long threshold)
-