Class TraceJdbcProperties.DataSourceProxyProperties.SlowQuery
- java.lang.Object
-
- org.springframework.cloud.sleuth.autoconfig.instrument.jdbc.TraceJdbcProperties.DataSourceProxyProperties.SlowQuery
-
- Enclosing class:
- TraceJdbcProperties.DataSourceProxyProperties
public static class TraceJdbcProperties.DataSourceProxyProperties.SlowQuery extends Object
Properties to configure slow query logging listener.
-
-
Constructor Summary
Constructors Constructor Description SlowQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLoggerName()StringgetLogLevel()longgetThreshold()booleanisEnableLogging()voidsetEnableLogging(boolean enableLogging)voidsetLoggerName(String loggerName)voidsetLogLevel(String logLevel)voidsetThreshold(long threshold)
-
-
-
Method Detail
-
isEnableLogging
public boolean isEnableLogging()
-
setEnableLogging
public void setEnableLogging(boolean enableLogging)
-
getLoggerName
public String getLoggerName()
-
setLoggerName
public void setLoggerName(String loggerName)
-
getLogLevel
public String getLogLevel()
-
setLogLevel
public void setLogLevel(String logLevel)
-
getThreshold
public long getThreshold()
-
setThreshold
public void setThreshold(long threshold)
-
-