|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.ipc.trace.Trace
public class Trace
A Trace is a tree of spans which reflects the actual call structure of a recursive RPC call tree. Each node in a Trace represents a RPC request/response pair. Each node also has zero or more child nodes.
Constructor Summary | |
---|---|
Trace(TraceNode root)
Construct a trace given a root TraceNode. |
Method Summary | |
---|---|
int |
executionPathHash()
Provide a hashCode unique to the execution path of this trace. |
static Trace |
extractTrace(List<Span> spans)
Construct a Trace from a list of Span objects. |
TraceNode |
getRoot()
Return the root node of this trace. |
String |
printBrief()
Print a brief description of this trace describing the execution path, but not timing data. |
String |
printWithTiming()
Print a description of this trace which includes timing data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Trace(TraceNode root)
Method Detail |
---|
public TraceNode getRoot()
public int executionPathHash()
public String printBrief()
public String printWithTiming()
public static Trace extractTrace(List<Span> spans)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |