|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.impl.basic.QueryTracer.TracePrinter net.ontopia.topicmaps.query.impl.utils.SimpleQueryTracer
public class SimpleQueryTracer
INTERNAL: Used to get a trace from a specific query into a writer for ease of display. Warning: this method is not thread-safe; any other queries running simultaneously will pollute the trace.
Field Summary |
---|
Fields inherited from class net.ontopia.topicmaps.query.impl.basic.QueryTracer.TracePrinter |
---|
elapsedThreshold, memoryDeltaThreshold |
Constructor Summary | |
---|---|
SimpleQueryTracer(java.io.Writer out)
|
Method Summary | |
---|---|
boolean |
isEnabled()
|
void |
output(java.lang.String message)
|
Methods inherited from class net.ontopia.topicmaps.query.impl.basic.QueryTracer.TracePrinter |
---|
endQuery, enter, enter, enter, enterOrderBy, enterSelect, leave, leave, leaveOrderBy, leaveSelect, startQuery, trace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleQueryTracer(java.io.Writer out)
Method Detail |
---|
public boolean isEnabled()
isEnabled
in class QueryTracer.TracePrinter
public void output(java.lang.String message)
output
in class QueryTracer.TracePrinter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |