|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.test.bench.BenchB
public class BenchB
This test is similar to the TPC-B test of the Transaction Processing Council (TPC). Multiple threads are used (one thread per connection). Referential integrity is not implemented.
See also http://www.tpc.org/tpcb
| Constructor Summary | |
|---|---|
BenchB()
|
|
| 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 |
run()
|
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 BenchB()
| 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.SQLExceptionpublic void run()
run in interface java.lang.Runnable
public void runTest()
throws java.lang.Exception
Bench
runTest in interface Benchjava.lang.Exceptionpublic 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 | |||||||