Method Summary |
|
protected void | beginTx(PersistenceManager pm, Task task, int threadId, int txId) |
protected void | cleanup() |
protected void | closePM(PersistenceManager pm, int threadId, int txId, Task task, PerformResult res) |
protected void | commitTx(PersistenceManager pm, Task task, int threadId, int txId) |
protected void | displayMemory() |
abstract protected String[] | getClassNamesToInit() |
protected String | getLogPrefix() |
protected PersistenceManager | getPM(Task task, int threadId, int txId) |
public Properties | getPMFProperties() |
protected int | getStartId(int testid) |
protected void | initDataStructure(boolean clean) |
protected void | logStatistic(TaskManager tm, long exectime, Object ctx) |
protected TaskManager | newTaskManager(int nbTx, int nbThread, int timeout, Object ctx) |
protected TaskManager | newTaskManager(int nbTx, int nbThread, int timeout, Object ctx) |
protected void | perform(int nbThread, int nbTx, int threadTimeout, Object ctx) |
protected void | perform(int nbThread, int nbTx, int timeout, Object ctx) |
abstract protected void | perform(Task task, int threadId, int txId, Object ctx, PerformResult res) executes a transaction
Parameters: task - task asking the transaction execution Parameters: threadId - thread identifier running the transaction Parameters: txId - transaction identifier Parameters: ctx - context of the test Parameters: res - result of the transaction execution. |
protected void | prepareTask(Task task, Object ctx) |
protected void | prepareTest(TaskManager tm, Object ctx) |
protected void | rollbackOnException(PersistenceManager pm, Exception e, PerformResult res, Task task, int threadId, int txId) |
public void | setUp() |
protected void | stopOnError(PersistenceManager pm, Throwable t, PerformResult res, Task task, int threadId, int txId) Stop the transactions execution due to an error. |
public void | tearDown() |