public static class DataSourceProxyProperties.SlowQuery extends Object
ProxyDataSourceBuilder.logSlowQueryToSysOut(long, TimeUnit),
ProxyDataSourceBuilder.logSlowQueryBySlf4j(long, TimeUnit),
ProxyDataSourceBuilder.logSlowQueryByCommons(long, TimeUnit),
ProxyDataSourceBuilder.logSlowQueryByJUL(long, TimeUnit)| Constructor and Description |
|---|
SlowQuery() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLoggerName() |
String |
getLogLevel() |
long |
getThreshold() |
void |
setEnableLogging(boolean enableLogging) |
void |
setLoggerName(String loggerName) |
void |
setLogLevel(String logLevel) |
void |
setThreshold(long threshold) |
public void setEnableLogging(boolean enableLogging)
public String getLoggerName()
public void setLoggerName(String loggerName)
public String getLogLevel()
public void setLogLevel(String logLevel)
public long getThreshold()
public void setThreshold(long threshold)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.