Class BreadthFirstTrace
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.tool.iotrace.BreadthFirstTrace
-
-
Field Summary
Fields Modifier and Type Field Description static @NotNull java.lang.String
CONTEXT_SPEC
The context specification of this trace.
-
Constructor Summary
Constructors Constructor Description BreadthFirstTrace(int depth, @NotNull java.lang.String path, @NotNull java.util.function.Consumer<java.util.List<java.lang.String>> context)
Create a new instance of a breadth first traversal trace.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(@NotNull org.apache.jackrabbit.oak.spi.state.NodeState node)
Run this trace on the passednode
.
-
-
-
Constructor Detail
-
BreadthFirstTrace
public BreadthFirstTrace(int depth, @NotNull @NotNull java.lang.String path, @NotNull @NotNull java.util.function.Consumer<java.util.List<java.lang.String>> context)
Create a new instance of a breadth first traversal trace.- Parameters:
depth
- maximal depth of the nodes to traversepath
- path of the root node where to start traversingcontext
- consumer to pass the additional context to
-
-