MySQL 5.6.14 Source Code Document
|
Classes | |
class | JpaOp |
Static Public Member Functions | |
static void | main (String[] args) |
Static Public Member Functions inherited from com.mysql.clusterj.jpatest.Driver | |
static void | parseArguments (String[] args) |
static void | clearPropFileNames () |
Protected Member Functions | |
void | initProperties () |
void | printProperties () |
void | init () throws Exception |
void | close () throws Exception |
void | initConnection () |
void | closeConnection () |
int | checkFields (A o) |
int | checkFields (B0 o) |
void | initOperations () |
void | closeOperations () |
void | beginTransaction () |
void | commitTransaction () |
void | rollbackTransaction () |
void | clearPersistenceContext () |
void | clearData () |
Protected Member Functions inherited from com.mysql.clusterj.jpatest.Driver | |
boolean | parseBoolean (String k) |
int | parseInt (String k, int vdefault) |
void | runTests () throws Exception |
void | runOperations (int countA, int countB) throws Exception |
void | runOp (Op op, int countA, int countB) throws Exception |
void | begin (String name) throws Exception |
void | commit (String name) throws Exception |
Protected Attributes | |
String | driver |
String | url |
EntityManagerFactory | emf |
EntityManager | em |
Query | delAllA |
Query | delAllB0 |
Protected Attributes inherited from com.mysql.clusterj.jpatest.Driver | |
final Properties | props = new Properties() |
String | descr = "" |
boolean | logRealTime = false |
boolean | logMemUsage = false |
boolean | includeFullGC = false |
boolean | logSumOfOps = false |
boolean | renewOperations = false |
boolean | renewConnection = false |
boolean | allowExtendedPC = false |
int | aStart = (1 << 8) |
int | bStart = (1 << 8) |
int | maxStringLength = 100 |
int | warmupRuns = 0 |
int | hotRuns = 0 |
final Set< String > | exclude = new HashSet<String>() |
final List< Op > | ops = new ArrayList<Op>() |
Additional Inherited Members | |
Public Member Functions inherited from com.mysql.clusterj.jpatest.Driver | |
void | run () |
Static Protected Member Functions inherited from com.mysql.clusterj.jpatest.Driver | |
static final void | verify (boolean cond) |
static void | loadSystemLibrary (String name) |
Static Protected Attributes inherited from com.mysql.clusterj.jpatest.Driver | |
static final PrintWriter | out = new PrintWriter(System.out, true) |
static final PrintWriter | err = new PrintWriter(System.err, true) |
static final String | endl = System.getProperty("line.separator") |
A benchmark implementation against a JPA-mapped database.
Definition at line 35 of file JpaLoad.java.
|
inlineprotected |
Releases the benchmark's resources.
Reimplemented from com.mysql.clusterj.jpatest.Driver.
Definition at line 101 of file JpaLoad.java.
|
inlineprotected |
Initializes the benchmark's resources.
Reimplemented from com.mysql.clusterj.jpatest.Driver.
Definition at line 91 of file JpaLoad.java.
|
inlineprotected |
Initializes the benchmark properties.
Reimplemented from com.mysql.clusterj.jpatest.Driver.
Definition at line 56 of file JpaLoad.java.
|
inlineprotected |
Prints the benchmark's properties.
Reimplemented from com.mysql.clusterj.jpatest.Driver.
Definition at line 84 of file JpaLoad.java.