| org.objectweb.speedo.stress.StressHelper org.objectweb.speedo.stress.AllCollectionHelper
All known Subclasses: org.objectweb.speedo.stress.TestCollectionConcurrency,
AllCollectionHelper | abstract public class AllCollectionHelper extends StressHelper (Code) | | author: M. Guillemin |
Inner Class :public class ACCtx | |
oids | protected static Object[] oids(Code) | | is the lists of object identifier prepared before the transaction
execution.
if (oids == null) {
db is not initialised
} else if (oids != null && oids.length==0) {
db initialised and keepOid = false
} else {
db initialised and keepOid == true
}
|
AllCollectionHelper | public AllCollectionHelper(String s)(Code) | | |
getClassNamesToInit | protected String[] getClassNamesToInit()(Code) | | |
keepOid | protected boolean keepOid()(Code) | | |
linkObject | protected boolean linkObject()(Code) | | |
prepareTask | protected void prepareTask(Task task, Object _ctx)(Code) | | Creates the persistent object if it is not already done.
Parameters: task - the task to prepare Parameters: _ctx - the context of the test. |
setUp | public void setUp() throws Exception(Code) | | IMPORTANT: dot not removed data on support in order to avoid next
creations
|
Methods inherited from org.objectweb.speedo.stress.StressHelper | protected void beginTx(PersistenceManager pm, Task task, int threadId, int txId)(Code)(Java Doc) protected void cleanup()(Code)(Java Doc) protected void closePM(PersistenceManager pm, int threadId, int txId, Task task, PerformResult res)(Code)(Java Doc) protected void commitTx(PersistenceManager pm, Task task, int threadId, int txId)(Code)(Java Doc) protected void displayMemory()(Code)(Java Doc) abstract protected String[] getClassNamesToInit()(Code)(Java Doc) protected String getLogPrefix()(Code)(Java Doc) protected PersistenceManager getPM(Task task, int threadId, int txId)(Code)(Java Doc) public Properties getPMFProperties()(Code)(Java Doc) protected int getStartId(int testid)(Code)(Java Doc) protected void initDataStructure(boolean clean) throws Exception(Code)(Java Doc) protected void logStatistic(TaskManager tm, long exectime, Object ctx)(Code)(Java Doc) protected TaskManager newTaskManager(int nbTx, int nbThread, int timeout, Object ctx)(Code)(Java Doc) protected TaskManager newTaskManager(int nbTx, int nbThread, int timeout, Object ctx)(Code)(Java Doc) protected void perform(int nbThread, int nbTx, int threadTimeout, Object ctx)(Code)(Java Doc) protected void perform(int nbThread, int nbTx, int timeout, Object ctx)(Code)(Java Doc) abstract protected void perform(Task task, int threadId, int txId, Object ctx, PerformResult res)(Code)(Java Doc) protected void prepareTask(Task task, Object ctx)(Code)(Java Doc) protected void prepareTest(TaskManager tm, Object ctx)(Code)(Java Doc) protected void rollbackOnException(PersistenceManager pm, Exception e, PerformResult res, Task task, int threadId, int txId)(Code)(Java Doc) public void setUp() throws Exception(Code)(Java Doc) protected void stopOnError(PersistenceManager pm, Throwable t, PerformResult res, Task task, int threadId, int txId)(Code)(Java Doc) public void tearDown()(Code)(Java Doc)
|
|
|