Class LayerBreakdownVisitor
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.tree.traversal.BFTreeVisitor<IItem>
-
- org.openjdk.jmc.flightrecorder.rules.tree.traversal.LayerBreakdownVisitor
-
- All Implemented Interfaces:
ITreeVisitor<IItem>
public class LayerBreakdownVisitor extends BFTreeVisitor<IItem>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLayerBreakdownVisitor.LayerBreakdownstatic classLayerBreakdownVisitor.LayerEntry
-
Field Summary
Fields Modifier and Type Field Description static Comparator<LayerBreakdownVisitor.LayerBreakdown>BREAKDOWN_COMPARATOR
-
Constructor Summary
Constructors Constructor Description LayerBreakdownVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<LayerBreakdownVisitor.LayerBreakdown>getLayers()protected voidprocessPayload(IItem value, int level)Override in subclasses to act on the values in breadth first order.-
Methods inherited from class org.openjdk.jmc.flightrecorder.rules.tree.traversal.BFTreeVisitor
visit
-
-
-
-
Field Detail
-
BREAKDOWN_COMPARATOR
public static final Comparator<LayerBreakdownVisitor.LayerBreakdown> BREAKDOWN_COMPARATOR
-
-
Method Detail
-
processPayload
protected void processPayload(IItem value, int level)
Description copied from class:BFTreeVisitorOverride in subclasses to act on the values in breadth first order.- Specified by:
processPayloadin classBFTreeVisitor<IItem>- Parameters:
value- the payload.level- the tree level.
-
getLayers
public List<LayerBreakdownVisitor.LayerBreakdown> getLayers()
-
-