public class SlowSqlTrace extends SQLTrace
| Modifier and Type | Field and Description |
|---|---|
static Comparator<SlowSqlTrace> |
SlowSqlTraceSlowestExecutionComparator |
SQLTraceFrequencyComparator| Constructor and Description |
|---|
SlowSqlTrace(String query,
int numExecutions,
long time,
long executionTime) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSlowestExecutionTime()
Gets the slowest execution time for this SQL Trace
|
void |
setSlowestExecutionTime(long slowestExecutionTime)
Sets the slowest execution time for this SQL trace
|
getLastUsageTime, getNumExecutions, getQueryName, setLastUsageTime, setNumExecutions, setQueryNamepublic static Comparator<SlowSqlTrace> SlowSqlTraceSlowestExecutionComparator
public SlowSqlTrace(String query, int numExecutions, long time, long executionTime)
public long getSlowestExecutionTime()
public void setSlowestExecutionTime(long slowestExecutionTime)
slowestExecutionTime - The execution time to setCopyright © 2017. All rights reserved.