|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orc.trace.Tracer orc.trace.AbstractTracer orc.trace.OutputStreamTracer
public class OutputStreamTracer
Serialize and gzip events to an OutputStream
.
The output stream will be closed when the execution is finished.
You can read the events back with an InputStreamEventCursor
.
Constructor Summary | |
---|---|
OutputStreamTracer(java.io.OutputStream out)
|
Method Summary | |
---|---|
void |
finish()
End an execution. |
protected void |
record(Handle<? extends Event> event)
|
Methods inherited from class orc.trace.AbstractTracer |
---|
start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputStreamTracer(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
Method Detail |
---|
protected void record(Handle<? extends Event> event)
record
in class AbstractTracer
public void finish()
Tracer
finish
in class Tracer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |