public class Trace extends Object
Constructor and Description |
---|
Trace(TraceNode root)
Construct a trace given a root TraceNode.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Trace(TraceNode root)
public TraceNode getRoot()
public int executionPathHash()
public String printBrief()
public String printWithTiming()
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.