|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.test.bench.BenchC
public class BenchC
This test is similar to the TPC-C test of the Transaction Processing Council (TPC). Only one connection and one thread is used. Referential integrity is not implemented.
See also http://www.tpc.org
| Constructor Summary | |
|---|---|
BenchC()
|
|
| 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 BenchC()
| Method Detail |
|---|
public void init(org.h2.test.bench.Database db,
int size)
throws java.sql.SQLException
Bench
init in interface Benchdb - the database objectsize - the amount of data
java.sql.SQLException
public void runTest()
throws java.sql.SQLException
Bench
runTest in interface Benchjava.sql.SQLExceptionpublic 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 | |||||||