Class DepthFirstTrace
java.lang.Object
org.apache.jackrabbit.oak.segment.tool.iotrace.DepthFirstTrace
- All Implemented Interfaces:
Trace
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NotNull String
The context specification of this trace. -
Constructor Summary
ConstructorsConstructorDescriptionDepthFirstTrace
(int depth, @NotNull String path, @NotNull Consumer<List<String>> context) Create a new instance of a depth first traversal trace. -
Method Summary
-
Field Details
-
CONTEXT_SPEC
The context specification of this trace.
-
-
Constructor Details
-
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
-
-
Method Details