public class SystemOutSlowQueryListener extends AbstractSlowQueryLoggingListener
prefix, queryLogEntryCreator, writeDataSourceNameexecutor, inExecution, threshold, thresholdTimeUnitDEFAULT| Constructor and Description |
|---|
SystemOutSlowQueryListener() |
SystemOutSlowQueryListener(long threshold,
TimeUnit thresholdTimeUnit) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
writeLog(String message) |
getQueryLogEntryCreator, onSlowQuery, setQueryLogEntryCreatorafterQuery, beforeQuery, getExecutor, getThreshold, getThresholdTimeUnit, setThreshold, setThresholdTimeUnitpublic SystemOutSlowQueryListener()
public SystemOutSlowQueryListener(long threshold,
TimeUnit thresholdTimeUnit)
protected void writeLog(String message)
writeLog in class AbstractSlowQueryLoggingListenerCopyright © 2017. All rights reserved.