Package | Description |
---|---|
org.openjdk.jmc.flightrecorder.rules.tree | |
org.openjdk.jmc.flightrecorder.rules.tree.traversal |
Modifier and Type | Class and Description |
---|---|
class |
TreeNode<T>
A simple mutable tree node implementation, with a typed payload.
|
Modifier and Type | Method and Description |
---|---|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
static ITreeNode<IItem> |
ItemTreeBuilder.buildEncapsulationTree(IItemCollection items,
boolean allowInstants,
boolean ignoreThread)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
ITreeNode<T> |
TreeNode.getParent() |
ITreeNode<T> |
ITreeNode.getParent() |
Modifier and Type | Method and Description |
---|---|
List<ITreeNode<T>> |
TreeNode.getChildren() |
List<ITreeNode<T>> |
ITreeNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
static void |
ItemTreeToolkit.appendLayeredBreakdown(StringBuilder report,
ITreeNode<IItem> root,
int maxDepth)
Reports all encapsulation layers.
|
static void |
ItemTreeToolkit.appendLongestBreakdown(StringBuilder report,
ITreeNode<IItem> root)
Renders a report of the longest encapsulating event chain.
|
static int |
ItemTreeToolkit.getDepth(ITreeNode<?> node)
Returns the number of ancestors the node has.
|
static String |
ItemTreeToolkit.printTree(ITreeNode<IItem> node) |
void |
ITreeVisitor.visit(ITreeNode<T> node) |
Modifier and Type | Method and Description |
---|---|
ITreeNode<IItem> |
LayerBreakdownGenerator.getStartNode() |
ITreeNode<T> |
BFIterator.next() |
ITreeNode<T> |
DFIterator.next() |
Modifier and Type | Method and Description |
---|---|
void |
DFTreeVisitor.visit(ITreeNode<T> node) |
void |
BFTreeVisitor.visit(ITreeNode<T> node) |
Constructor and Description |
---|
BFIterator(ITreeNode<T> node) |
DFIterator(ITreeNode<T> node) |
LayerBreakdownGenerator(ITreeNode<IItem> startNode) |
LongestDurationIterator(ITreeNode<IItem> node) |
Copyright © 2019. All rights reserved.