public class RevisionGCTest extends Benchmark
| Modifier and Type | Field and Description |
|---|---|
protected static float |
GARBAGE_RATIO |
protected static String |
NODE_TYPE |
protected static int |
SCALE |
| Constructor and Description |
|---|
RevisionGCTest() |
| Modifier and Type | Method and Description |
|---|---|
protected static Session |
createSession(Repository repository) |
protected static org.apache.jackrabbit.oak.spi.state.NodeStore |
getNodeStore(org.apache.jackrabbit.oak.Oak oak) |
protected static String |
revisionGC(org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore) |
void |
run(Iterable<RepositoryFixture> fixtures)
Runs this benchmark against all the given repository fixtures.
|
protected void |
run(Repository repository,
org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore) |
protected static final float GARBAGE_RATIO
protected static final String NODE_TYPE
protected static final int SCALE
public void run(Iterable<RepositoryFixture> fixtures)
Benchmarkprotected void run(Repository repository, org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore) throws Exception
Exceptionprotected static String revisionGC(org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore) throws Exception
Exceptionprotected static org.apache.jackrabbit.oak.spi.state.NodeStore getNodeStore(org.apache.jackrabbit.oak.Oak oak) throws Exception
Exceptionprotected static Session createSession(Repository repository) throws RepositoryException
RepositoryExceptionCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.