|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.query.utils.TologSpy
public class TologSpy
PUBLIC: Query profiler for tolog. Note that it must be turned on by a call to setIsRecording() in order to start recording data.
| Constructor Summary | |
|---|---|
TologSpy()
|
|
| Method Summary | |
|---|---|
static void |
clear()
PUBLIC: Clears recorded data. |
static void |
generateReport(Writer out)
PUBLIC: Produce profiling report. |
static boolean |
getIsRecording()
PUBLIC: Returns true if the profiler is recording query data. |
static void |
recordExecute(TologQuery query,
long start,
long end)
INTERNAL: Records data about a query. |
static void |
setIsRecording(boolean recording)
PUBLIC: Used to turn recording on and off. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TologSpy()
| Method Detail |
|---|
public static boolean getIsRecording()
public static void setIsRecording(boolean recording)
public static void clear()
public static void generateReport(Writer out)
throws IOException
IOException
public static void recordExecute(TologQuery query,
long start,
long end)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||