Package net.ontopia.utils
Class QueryProfiler
java.lang.Object
net.ontopia.utils.QueryProfiler
INTERNAL: Statistics collector for profiling queries, whether tolog
or SQL.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidgenerateReport(String title, Writer out) voidrecordExecute(String ename, long start, long end) voidrecordExecuteUpdate(String ename, int affectedSize, long start, long end) voidrecordTraverse(String ename, boolean hasNext, long start, long end)
-
Constructor Details
-
QueryProfiler
public QueryProfiler()
-
-
Method Details
-
clear
public void clear() -
recordExecute
-
recordExecuteUpdate
-
recordTraverse
-
generateReport
- Throws:
IOException
-