Class TraceAnalyzer.TraceNode
java.lang.Object
com.loomcache.server.tracing.TraceAnalyzer.TraceNode
- Enclosing class:
TraceAnalyzer
Trace tree node representing a span and its children.
- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDepth()Get the depth of this node in the tree.doubleGet total duration including all descendants.voidVisit all nodes in the tree (depth-first).
-
Field Details
-
span
-
children
-
-
Constructor Details
-
TraceNode
-
-
Method Details
-
getDepth
public int getDepth()Get the depth of this node in the tree. -
getTotalDurationMs
public double getTotalDurationMs()Get total duration including all descendants. -
visit
Visit all nodes in the tree (depth-first).
-