public abstract class ScalabilityBenchmark extends Object
ScalabilityBenchmark#execute(Repository, Credentials, ExecutionContext)
.
This method will then be called from the ScalabilitySuite
where configured.Constructor and Description |
---|
ScalabilityBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
afterExecute(javax.jcr.Repository repository,
javax.jcr.Credentials credentials,
ScalabilityAbstractSuite.ExecutionContext context)
Run any cleanup necessary after the benchmark
|
void |
beforeExecute(javax.jcr.Repository repository,
javax.jcr.Credentials credentials,
ScalabilityAbstractSuite.ExecutionContext context)
Run any preparatory steps before the benchmark.
|
abstract void |
execute(javax.jcr.Repository repository,
javax.jcr.Credentials credentials,
ScalabilityAbstractSuite.ExecutionContext context)
Runs the benchmark against the given repository.
|
String |
toString() |
public abstract void execute(javax.jcr.Repository repository, javax.jcr.Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context) throws Exception
repository
- the repository instancecredentials
- the credentialscontext
- the execution contextException
public void beforeExecute(javax.jcr.Repository repository, javax.jcr.Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context) throws Exception
repository
- the repository instancecredentials
- the credentialscontext
- the execution contextException
public void afterExecute(javax.jcr.Repository repository, javax.jcr.Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context)
repository
- the repository instancecredentials
- the credentialscontext
- the execution contextCopyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.