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(Repository repository,
Credentials credentials,
ScalabilityAbstractSuite.ExecutionContext context)
Run any cleanup necessary after the benchmark
|
void |
beforeExecute(Repository repository,
Credentials credentials,
ScalabilityAbstractSuite.ExecutionContext context)
Run any preparatory steps before the benchmark.
|
abstract void |
execute(Repository repository,
Credentials credentials,
ScalabilityAbstractSuite.ExecutionContext context)
Runs the benchmark against the given repository.
|
String |
toString() |
public abstract void execute(Repository repository, Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context) throws Exception
repository - the repository instancecredentials - the credentialscontext - the execution contextExceptionpublic void beforeExecute(Repository repository, Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context) throws Exception
repository - the repository instancecredentials - the credentialscontext - the execution contextExceptionpublic void afterExecute(Repository repository, Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context)
repository - the repository instancecredentials - the credentialscontext - the execution contextCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.