Class RandomAccessTrace
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.tool.iotrace.RandomAccessTrace
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONTEXT_SPEC
-
Constructor Summary
Constructors Constructor Description RandomAccessTrace(@NotNull java.util.List<java.lang.String> paths, long seed, int count, @NotNull java.util.function.Consumer<java.util.List<java.lang.String>> context)
Create a new instance of a random access trace.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(@NotNull NodeState root)
Run this trace on the passednode
.
-
-
-
Field Detail
-
CONTEXT_SPEC
public static final java.lang.String CONTEXT_SPEC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RandomAccessTrace
public RandomAccessTrace(@NotNull @NotNull java.util.List<java.lang.String> paths, long seed, int count, @NotNull @NotNull java.util.function.Consumer<java.util.List<java.lang.String>> context)
Create a new instance of a random access trace.- Parameters:
paths
- the list of paths to accessseed
- seed for randomly picking pathscount
- number of paths to tracecontext
- consumer to pass the additional context to
-
-