Class DepthFirstTrace
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.tool.iotrace.DepthFirstTrace
-
-
Field Summary
Fields Modifier and Type Field Description static @NotNull String
CONTEXT_SPEC
The context specification of this trace.
-
Constructor Summary
Constructors Constructor Description DepthFirstTrace(int depth, @NotNull String path, @NotNull Consumer<List<String>> context)
Create a new instance of a depth first traversal trace.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(@NotNull NodeState node)
Run this trace on the passednode
.
-
-
-
Field Detail
-
CONTEXT_SPEC
@NotNull public static final @NotNull String CONTEXT_SPEC
The context specification of this trace.
-
-
Constructor Detail
-
DepthFirstTrace
public DepthFirstTrace(int depth, @NotNull @NotNull String path, @NotNull @NotNull Consumer<List<String>> context)
Create a new instance of a depth 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
-
-