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 TypeMethodDescriptionlongbooleanvoidsetEnableLogging(boolean enableLogging) voidsetLoggerName(String loggerName) voidsetLogLevel(String logLevel) voidsetThreshold(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)
-