Package org.h2.test.bench
Class BenchA
java.lang.Object
org.h2.test.bench.BenchA
- All Implemented Interfaces:
Bench
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
Constructors -
Method Summary
-
Constructor Details
-
BenchA
public BenchA()
-
-
Method Details
-
init
Description copied from interface:BenchInitialize the database. This includes creating tables and inserting data.- Specified by:
initin interfaceBench- Parameters:
db- the database objectsize- the amount of data- Throws:
SQLException
-
runTest
Description copied from interface:BenchRun the test.- Specified by:
runTestin interfaceBench- Throws:
SQLException
-
getName
Description copied from interface:BenchGet the name of the test.
-