org.prevayler.demos.scalability
Class QueryTestRun
java.lang.Object
org.prevayler.demos.scalability.QueryTestRun
public class QueryTestRun
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numberOfObjects
protected final int numberOfObjects
QueryTestRun
public QueryTestRun(ScalabilityTestSubject subject,
int numberOfObjects,
int minThreads,
int maxThreads)
name
protected String name()
- Returns:
- The name of the test to be executed. Example: "Prevayler Query Test".
executeOperation
protected void executeOperation(Object connection,
long operationSequence)
getResult
public String getResult()
- Returns:
- Example: "123.12 operations/second (12 threads)".
getOperationsPerSecond
public double getOperationsPerSecond()
prepare
protected void prepare()
Copyright © 2001-2013. All Rights Reserved.