org.hibernate.envers.test.performance
Class AbstractPerformanceTest
java.lang.Object
org.hibernate.envers.test.AbstractEnversTest
org.hibernate.envers.test.AbstractEntityTest
org.hibernate.envers.test.performance.AbstractPerformanceTest
- Direct Known Subclasses:
- ComplexInsertPerformance, InsertsOneTransactionPerformance, InsertsPerformance, UpdatesPerformance
public abstract class AbstractPerformanceTest
- extends AbstractEntityTest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPerformanceTest
public AbstractPerformanceTest()
getSecondsString
protected String getSecondsString(long milliseconds)
doTest
protected abstract void doTest()
start
protected void start()
stop
protected void stop()
reset
protected void reset()
run
public long run(int numberOfRuns,
List<Long> results)
test
public void test(int numberOfRuns)
throws IOException
- Throws:
IOException
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.