Class Node
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.stacktrace.graph.Node
-
public final class Node extends Object
A node in the graph of aggregated stack traces.
-
-
Constructor Summary
Constructors Constructor Description Node(Integer nodeId, AggregatableFrame frame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getCount()
int
getCumulativeCount()
AggregatableFrame
getFrame()
Integer
getNodeId()
double
getWeight()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Node
public Node(Integer nodeId, AggregatableFrame frame)
-
-
Method Detail
-
getCount
public int getCount()
- Returns:
- the number of times this node was on the top of the stack.
-
getWeight
public double getWeight()
- Returns:
- the weight of this node.
-
getCumulativeCount
public int getCumulativeCount()
- Returns:
- the number of times this node was passed through.
-
getFrame
public AggregatableFrame getFrame()
-
getNodeId
public Integer getNodeId()
-
-