public class TraceNode extends Object
Modifier and Type | Field and Description |
---|---|
List<TraceNode> |
children
A list of this TraceNode's children.
|
Span |
span
The
Span to which corresponds to this node in the call tree. |
Constructor and Description |
---|
TraceNode(Span span,
List<TraceNode> children) |
Modifier and Type | Method and Description |
---|---|
long |
extractEventTime(TraceNode tn,
SpanEvent e)
Return the time stamp associated with a particular SpanEvent in this
Trace Node.
|
List<TraceNode> |
getChildren()
Return the children of this node.
|
String |
getLatencyTimeString() |
String |
getMessageName() |
long |
getPostLinkTime()
Return time delta between { @link SpanEvent.SERVER_SEND } and
{ @link SpanEvent.CLIENT_RECV }.
|
String |
getPostLinkTimeString()
Return post-link time as a string.
|
long |
getPreLinkTime()
Return time delta between { @link SpanEvent.CLIENT_SEND } and
{ @link SpanEvent.SERVER_RECV }.
|
String |
getPreLinkTimeString()
Return pre-link time as a string.
|
long |
getProcessTime()
Return time delta between { @link SpanEvent.SERVER_RECV } and
{ @link SpanEvent.SERVER_SEND}.
|
String |
getProcessTimeString()
Return cpu time as a string.
|
String |
getRequestorHostname() |
String |
getRequestPayloadSize() |
String |
getResponderHostname() |
String |
getResponsePayloadSize() |
public long extractEventTime(TraceNode tn, SpanEvent e)
public long getPreLinkTime()
public String getPreLinkTimeString()
public long getPostLinkTime()
public String getPostLinkTimeString()
public long getProcessTime()
public String getProcessTimeString()
public String getRequestPayloadSize()
public String getResponsePayloadSize()
public String getRequestorHostname()
public String getResponderHostname()
public String getMessageName()
public String getLatencyTimeString()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.