|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.test.bench.BenchA
public class BenchA
This test is similar to the TPC-A test of the Transaction Processing Council (TPC). However, only one connection and one thread is used.
See also: http://www.tpc.org/tpca/spec/tpca_current.pdf
Constructor Summary | |
---|---|
BenchA()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Get the name of the test. |
void |
init(org.h2.test.bench.Database db,
int size)
Initialize the database. |
void |
runTest()
Run the test. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BenchA()
Method Detail |
---|
public void init(org.h2.test.bench.Database db, int size) throws java.sql.SQLException
Bench
init
in interface Bench
db
- the database objectsize
- the amount of data
java.sql.SQLException
public void runTest() throws java.sql.SQLException
Bench
runTest
in interface Bench
java.sql.SQLException
public java.lang.String getName()
Bench
getName
in interface Bench
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |