Class SimpleQueryTracer
- java.lang.Object
-
- net.ontopia.topicmaps.query.impl.basic.QueryTracer.TracePrinter
-
- net.ontopia.topicmaps.query.impl.utils.SimpleQueryTracer
-
- All Implemented Interfaces:
QueryTraceListenerIF
public class SimpleQueryTracer extends QueryTracer.TracePrinter
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
Constructors Constructor Description SimpleQueryTracer(Writer out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled()
void
output(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
-
-
-
-
Constructor Detail
-
SimpleQueryTracer
public SimpleQueryTracer(Writer out)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
- Overrides:
isEnabled
in classQueryTracer.TracePrinter
-
output
public void output(String message)
- Overrides:
output
in classQueryTracer.TracePrinter
-
-