MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.jpatest.JpaLoad Class Reference
Inheritance diagram for com.mysql.clusterj.jpatest.JpaLoad:
Collaboration diagram for com.mysql.clusterj.jpatest.JpaLoad:

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< Stringexclude = new HashSet<String>()
final List< Opops = 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")

Detailed Description

A benchmark implementation against a JPA-mapped database.

Definition at line 35 of file JpaLoad.java.

Member Function Documentation

void com.mysql.clusterj.jpatest.JpaLoad.close ( void  ) throws Exception
inlineprotected

Releases the benchmark's resources.

Reimplemented from com.mysql.clusterj.jpatest.Driver.

Definition at line 101 of file JpaLoad.java.

void com.mysql.clusterj.jpatest.JpaLoad.init ( void  ) throws Exception
inlineprotected

Initializes the benchmark's resources.

Reimplemented from com.mysql.clusterj.jpatest.Driver.

Definition at line 91 of file JpaLoad.java.

void com.mysql.clusterj.jpatest.JpaLoad.initProperties ( )
inlineprotected

Initializes the benchmark properties.

Reimplemented from com.mysql.clusterj.jpatest.Driver.

Definition at line 56 of file JpaLoad.java.

void com.mysql.clusterj.jpatest.JpaLoad.printProperties ( )
inlineprotected

Prints the benchmark's properties.

Reimplemented from com.mysql.clusterj.jpatest.Driver.

Definition at line 84 of file JpaLoad.java.


The documentation for this class was generated from the following file: