public abstract class ScalabilityBenchmark
extends java.lang.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.
|
java.lang.String |
toString() |
public abstract void execute(Repository repository, Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context) throws java.lang.Exception
repository
- the repository instancecredentials
- the credentialscontext
- the execution contextjava.lang.Exception
public void beforeExecute(Repository repository, Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context) throws java.lang.Exception
repository
- the repository instancecredentials
- the credentialscontext
- the execution contextjava.lang.Exception
public void afterExecute(Repository repository, Credentials credentials, ScalabilityAbstractSuite.ExecutionContext context)
repository
- the repository instancecredentials
- the credentialscontext
- the execution contextpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.