|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.test.bench.BenchSimple
public class BenchSimple
This is a very simple benchmark application. One table is created where rows are inserted, updated, selected (in sequential and random order), and then deleted.
| Constructor Summary | |
|---|---|
BenchSimple()
|
|
| 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 BenchSimple()
| 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 | |||||||