Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_SPEC |
Constructor and Description |
---|
RandomAccessTrace(@NotNull List<String> paths,
long seed,
int count,
@NotNull Consumer<List<String>> context)
Create a new instance of a random access trace.
|
Modifier and Type | Method and Description |
---|---|
void |
run(@NotNull org.apache.jackrabbit.oak.spi.state.NodeState root)
Run this trace on the passed
node . |
public static final String CONTEXT_SPEC
public RandomAccessTrace(@NotNull @NotNull List<String> paths, long seed, int count, @NotNull @NotNull Consumer<List<String>> context)
paths
- the list of paths to accessseed
- seed for randomly picking pathscount
- number of paths to tracecontext
- consumer to pass the additional context topublic void run(@NotNull @NotNull org.apache.jackrabbit.oak.spi.state.NodeState root)
Trace
node
.Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.