| org.objectweb.speedo.stress.StressHelper org.objectweb.speedo.stress.QueryHelper org.objectweb.speedo.stress.TestQueryConcurrency
TestQueryConcurrency | public class TestQueryConcurrency extends QueryHelper (Code) | | Stresses the query execution of Speedo.
author: M. Guillemin |
RESULT_MAX | public static int RESULT_MAX(Code) | | |
TestQueryConcurrency | public TestQueryConcurrency(String s)(Code) | | |
getClassNamesToInit | protected String[] getClassNamesToInit()(Code) | | |
testInteractive | public void testInteractive()(Code) | | Tests the execution of different queries, with interactive
setting of test parameteres (see file userconf/stress.properties).
|
testQueryConcurrencyTh10Tx100000Qu1 | public void testQueryConcurrencyTh10Tx100000Qu1()(Code) | | Tests 100000 transactions where each of them execute 1 query on 100000 objects using 10 thread.
|
testQueryConcurrencyTh10Tx10000Qu1 | public void testQueryConcurrencyTh10Tx10000Qu1()(Code) | | Tests 10000 transactions where each of them execute 1 query on 10000 objects using 10 thread.
|
testQueryConcurrencyTh10Tx1000Qu1 | public void testQueryConcurrencyTh10Tx1000Qu1()(Code) | | Tests 1000 transactions where each of them execute 1 query on 1000 objects using 10 thread.
|
testQueryConcurrencyTh10Tx100Qu1 | public void testQueryConcurrencyTh10Tx100Qu1()(Code) | | Tests 100 transactions where each of them execute 1 query on 100 objects using 10 thread.
|
testQueryConcurrencyTh1Tx100000Qu1 | public void testQueryConcurrencyTh1Tx100000Qu1()(Code) | | Tests 100000 transactions where each of them execute 1 query on 100000 objects using 1 thread.
|
testQueryConcurrencyTh1Tx10000Qu1 | public void testQueryConcurrencyTh1Tx10000Qu1()(Code) | | Tests 10000 transactions where each of them execute 1 query on 10000 objects using 1 thread.
|
testQueryConcurrencyTh1Tx1000Qu1 | public void testQueryConcurrencyTh1Tx1000Qu1()(Code) | | Tests 1000 transactions where each of them execute 1 query on 1000 objects using 1 thread.
|
testQueryConcurrencyTh1Tx100Qu1 | public void testQueryConcurrencyTh1Tx100Qu1()(Code) | | Tests 100 transactions where each of them execute 1 query on 100 objects using 1 thread.
|
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)
|
|
|