public abstract class SearchScalabilityBenchmark extends ScalabilityBenchmark
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
SearchScalabilityBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
execute(javax.jcr.Repository repository,
javax.jcr.Credentials credentials,
ScalabilityAbstractSuite.ExecutionContext context)
Runs the benchmark against the given repository.
|
protected abstract javax.jcr.query.Query |
getQuery(javax.jcr.query.QueryManager qm,
ScalabilityAbstractSuite.ExecutionContext context) |
protected void |
search(javax.jcr.query.QueryManager qm,
ScalabilityAbstractSuite.ExecutionContext context) |
afterExecute, beforeExecute, toString
public void execute(javax.jcr.Repository repository, javax.jcr.Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context) throws Exception
ScalabilityBenchmark
execute
in class ScalabilityBenchmark
repository
- the repository instancecredentials
- the credentialscontext
- the execution contextException
protected void search(javax.jcr.query.QueryManager qm, ScalabilityAbstractSuite.ExecutionContext context) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected abstract javax.jcr.query.Query getQuery(@Nonnull javax.jcr.query.QueryManager qm, ScalabilityAbstractSuite.ExecutionContext context) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.