|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.ipc.trace.TraceNode
public class TraceNode
A node of of an RPC Trace
. Each node stores a Span
object
and a list of zero or more child nodes.
Field Summary | |
---|---|
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 Summary | |
---|---|
TraceNode(Span span,
List<TraceNode> children)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Span span
Span
to which corresponds to this node in the call tree.
public List<TraceNode> children
Constructor Detail |
---|
public TraceNode(Span span, List<TraceNode> children)
Method Detail |
---|
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 List<TraceNode> getChildren()
public String getRequestPayloadSize()
public String getResponsePayloadSize()
public String getRequestorHostname()
public String getResponderHostname()
public String getMessageName()
public String getLatencyTimeString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |