| org.objectweb.speedo.stress.StressHelper org.objectweb.speedo.stress.IntUserIdHelper
All known Subclasses: org.objectweb.speedo.stress.TestDeletion,
IntUserIdHelper | abstract public class IntUserIdHelper extends StressHelper (Code) | | author: S.Chassande-Barrioz |
Inner Class :public class IUICtx | |
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
}
|
getClassNamesToInit | protected String[] getClassNamesToInit()(Code) | | |
keepOid | protected boolean keepOid()(Code) | | Default implementation return true.
true if the oid of the created object must be kept into thecontext |
prepareTask | protected void prepareTask(Task task, Object _ctx)(Code) | | |
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)
|
|
|