|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.utils.QueryProfiler
public class QueryProfiler
INTERNAL: Statistics collector for profiling queries, whether tolog or SQL.
| Constructor Summary | |
|---|---|
QueryProfiler()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
void |
generateReport(String title,
Writer out)
|
void |
recordExecute(String ename,
long start,
long end)
|
void |
recordExecuteUpdate(String ename,
int affectedSize,
long start,
long end)
|
void |
recordTraverse(String ename,
boolean hasNext,
long start,
long end)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryProfiler()
| Method Detail |
|---|
public void clear()
public void recordExecute(String ename,
long start,
long end)
public void recordExecuteUpdate(String ename,
int affectedSize,
long start,
long end)
public void recordTraverse(String ename,
boolean hasNext,
long start,
long end)
public void generateReport(String title,
Writer out)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||