public class SlowSQLLogger extends Object implements SQLTraceListener
| Constructor and Description |
|---|
SlowSQLLogger() |
SlowSQLLogger(long threshold,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
long |
getThreshold() |
void |
setThreshold(long threshold) |
void |
sqlTrace(SQLTraceRecord record)
Notify listeners with SQL trace information.
|
public SlowSQLLogger(long threshold,
TimeUnit unit)
public SlowSQLLogger()
public long getThreshold()
public void setThreshold(long threshold)
public void sqlTrace(SQLTraceRecord record)
SQLTraceListenersqlTrace in interface SQLTraceListenerrecord - SQLTraceRecord that has information related
to the SQL operationCopyright © 2017. All rights reserved.