public class SQLTrace extends Object
| Modifier and Type | Field and Description |
|---|---|
static Comparator<SQLTrace> |
SQLTraceFrequencyComparator |
| Constructor and Description |
|---|
SQLTrace(String query,
int numExecutions,
long time) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLastUsageTime()
Get the value of lastUsageTime
|
int |
getNumExecutions()
Get the value of numExecutions
|
String |
getQueryName()
Get the value of queryName
|
void |
setLastUsageTime(long lastUsageTime)
Set the value of lastUsageTime
|
void |
setNumExecutions(int numExecutions)
Set the value of numExecutions
|
void |
setQueryName(String queryName)
Set the value of queryName
|
public static Comparator<SQLTrace> SQLTraceFrequencyComparator
public SQLTrace(String query, int numExecutions, long time)
public String getQueryName()
public void setQueryName(String queryName)
queryName - new value of queryNamepublic int getNumExecutions()
public void setNumExecutions(int numExecutions)
numExecutions - new value of numExecutionspublic long getLastUsageTime()
public void setLastUsageTime(long lastUsageTime)
lastUsageTime - new value of lastUsageTimeCopyright © 2019. All rights reserved.