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 javax.jcr.Session |
createSession(javax.jcr.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(javax.jcr.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)
Benchmark
protected void run(javax.jcr.Repository repository, org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore) throws Exception
Exception
protected static String revisionGC(org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore) throws Exception
Exception
protected static org.apache.jackrabbit.oak.spi.state.NodeStore getNodeStore(org.apache.jackrabbit.oak.Oak oak) throws Exception
Exception
protected static javax.jcr.Session createSession(javax.jcr.Repository repository) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.