| org.objectweb.speedo.stress.StressHelper org.objectweb.speedo.stress.LinkedIntUserIdHelper org.objectweb.speedo.stress.TestQuery
Method Summary | |
protected String | getLoggerName() | public static void | main(String[] args) | protected void | perform(StressHelper.Task task, int threadId, int txId, Object _ctx, StressHelper.PerformResult res) | protected void | performQuery(int nbThread, int dbSize, int nbTx, int threadTimeout) | public void | testQuery() Tests the creation of a lot of persistent objects, with interactive
setting of test parameteres (see file userconf/project.properties). | public void | testQueryTh10Tx100000Qu1() Tests 100000 transactions where each of them execute 1 query on 100000 objects using 10 thread. | public void | testQueryTh10Tx10000Qu1() Tests 10000 transactions where each of them execute 1 query on 10000 objects using 10 thread. | public void | testQueryTh10Tx1000Qu1() Tests 1000 transactions where each of them execute 1 query on 1000 objects using 10 thread. | public void | testQueryTh10Tx100Qu1() Tests 100 transactions where each of them execute 1 query on 100 objects using 10 thread. | public void | testQueryTh1Tx100000Qu1() Tests 100000 transactions where each of them execute 1 query on 100000 objects using 1 thread. | public void | testQueryTh1Tx10000Qu1() Tests 10000 transactions where each of them execute 1 query on 10000 objects using 1 thread. | public void | testQueryTh1Tx1000Qu1() Tests 1000 transactions where each of them execute 1 query on 1000 objects using 1 thread. | public void | testQueryTh1Tx100Qu1() Tests 100 transactions where each of them execute 1 query on 100 objects using 1 thread. |
RESULT_MAX | public static int RESULT_MAX(Code) | | |
performQuery | protected void performQuery(int nbThread, int dbSize, int nbTx, int threadTimeout)(Code) | | |
testQuery | public void testQuery()(Code) | | Tests the creation of a lot of persistent objects, with interactive
setting of test parameteres (see file userconf/project.properties).
|
testQueryTh10Tx100000Qu1 | public void testQueryTh10Tx100000Qu1()(Code) | | Tests 100000 transactions where each of them execute 1 query on 100000 objects using 10 thread.
|
testQueryTh10Tx10000Qu1 | public void testQueryTh10Tx10000Qu1()(Code) | | Tests 10000 transactions where each of them execute 1 query on 10000 objects using 10 thread.
|
testQueryTh10Tx1000Qu1 | public void testQueryTh10Tx1000Qu1()(Code) | | Tests 1000 transactions where each of them execute 1 query on 1000 objects using 10 thread.
|
testQueryTh10Tx100Qu1 | public void testQueryTh10Tx100Qu1()(Code) | | Tests 100 transactions where each of them execute 1 query on 100 objects using 10 thread.
|
testQueryTh1Tx100000Qu1 | public void testQueryTh1Tx100000Qu1()(Code) | | Tests 100000 transactions where each of them execute 1 query on 100000 objects using 1 thread.
|
testQueryTh1Tx10000Qu1 | public void testQueryTh1Tx10000Qu1()(Code) | | Tests 10000 transactions where each of them execute 1 query on 10000 objects using 1 thread.
|
testQueryTh1Tx1000Qu1 | public void testQueryTh1Tx1000Qu1()(Code) | | Tests 1000 transactions where each of them execute 1 query on 1000 objects using 1 thread.
|
testQueryTh1Tx100Qu1 | public void testQueryTh1Tx100Qu1()(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)
|
|
|