Java Doc for TestCollectionConcurrency.java in  » Database-ORM » Speedo_1.4.5 » org » objectweb » speedo » stress » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database ORM » Speedo_1.4.5 » org.objectweb.speedo.stress 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.speedo.stress.StressHelper
   org.objectweb.speedo.stress.AllCollectionHelper
      org.objectweb.speedo.stress.TestCollectionConcurrency

TestCollectionConcurrency
public class TestCollectionConcurrency extends AllCollectionHelper (Code)
Stress the collection access function of Speedo.
author:
   M.Guillemin



Constructor Summary
public  TestCollectionConcurrency(String s)
    

Method Summary
public  void_testCollectionConcurrencyTh10Tx100000()
     Tests 100.000 transactions which stress collections using 10 thread.
public  void_testCollectionConcurrencyTh1Tx100000()
     Tests 100.000 transactions which stress collections using 1 thread.
public  void_testCollectionConcurrencyTh2Tx100000()
     Tests 100.000 transactions which stress collections using 2 thread.
protected  String[]getClassNamesToInit()
    
protected  StringgetLoggerName()
    
protected  voidperform(Task task, int threadId, int txId, Object ctx, PerformResult res)
    
public  voidtestCollectionConcurrencyTh1000Tx1000()
     Tests 1000 transactions which stress collections using 1000 thread.
public  voidtestCollectionConcurrencyTh100Tx100()
     Tests 100 transactions which stress collections using 100 thread.
public  voidtestCollectionConcurrencyTh10Tx1000()
     Tests 1000 transactions which stress collections using 10 thread.
public  voidtestCollectionConcurrencyTh10Tx10000()
     Tests 10.000 transactions which stress collections using 10 thread.
public  voidtestCollectionConcurrencyTh1Tx100()
     Tests 100 transactions which stress collections using 1 thread.
public  voidtestCollectionConcurrencyTh1Tx1000()
     Tests 1.000 transactions which stress collections using 1 thread.
public  voidtestCollectionConcurrencyTh1Tx10000()
     Tests 10.000 transactions which stress collections using 1 thread.
public  voidtestCollectionConcurrencyTh2Tx100()
     Tests 100 transactions which stress collections using 2 thread.
public  voidtestCollectionConcurrencyTh2Tx1000()
     Tests 1000 transactions which stress collections using 2 thread.
public  voidtestCollectionConcurrencyTh2Tx10000()
     Tests 10.000 transactions which stress collections using 2 thread.
public  voidtestInteractive()
     Tests the modification of a lot of persistent Collection objects, with interactive setting of test parameteres (see file userconf/project.properties).


Constructor Detail
TestCollectionConcurrency
public TestCollectionConcurrency(String s)(Code)




Method Detail
_testCollectionConcurrencyTh10Tx100000
public void _testCollectionConcurrencyTh10Tx100000()(Code)
Tests 100.000 transactions which stress collections using 10 thread.



_testCollectionConcurrencyTh1Tx100000
public void _testCollectionConcurrencyTh1Tx100000()(Code)
Tests 100.000 transactions which stress collections using 1 thread.



_testCollectionConcurrencyTh2Tx100000
public void _testCollectionConcurrencyTh2Tx100000()(Code)
Tests 100.000 transactions which stress collections using 2 thread.



getClassNamesToInit
protected String[] getClassNamesToInit()(Code)



getLoggerName
protected String getLoggerName()(Code)



perform
protected void perform(Task task, int threadId, int txId, Object ctx, PerformResult res)(Code)



testCollectionConcurrencyTh1000Tx1000
public void testCollectionConcurrencyTh1000Tx1000()(Code)
Tests 1000 transactions which stress collections using 1000 thread.



testCollectionConcurrencyTh100Tx100
public void testCollectionConcurrencyTh100Tx100()(Code)
Tests 100 transactions which stress collections using 100 thread.



testCollectionConcurrencyTh10Tx1000
public void testCollectionConcurrencyTh10Tx1000()(Code)
Tests 1000 transactions which stress collections using 10 thread.



testCollectionConcurrencyTh10Tx10000
public void testCollectionConcurrencyTh10Tx10000()(Code)
Tests 10.000 transactions which stress collections using 10 thread.



testCollectionConcurrencyTh1Tx100
public void testCollectionConcurrencyTh1Tx100()(Code)
Tests 100 transactions which stress collections using 1 thread.



testCollectionConcurrencyTh1Tx1000
public void testCollectionConcurrencyTh1Tx1000()(Code)
Tests 1.000 transactions which stress collections using 1 thread.



testCollectionConcurrencyTh1Tx10000
public void testCollectionConcurrencyTh1Tx10000()(Code)
Tests 10.000 transactions which stress collections using 1 thread.



testCollectionConcurrencyTh2Tx100
public void testCollectionConcurrencyTh2Tx100()(Code)
Tests 100 transactions which stress collections using 2 thread.



testCollectionConcurrencyTh2Tx1000
public void testCollectionConcurrencyTh2Tx1000()(Code)
Tests 1000 transactions which stress collections using 2 thread.



testCollectionConcurrencyTh2Tx10000
public void testCollectionConcurrencyTh2Tx10000()(Code)
Tests 10.000 transactions which stress collections using 2 thread.



testInteractive
public void testInteractive()(Code)
Tests the modification of a lot of persistent Collection objects, with interactive setting of test parameteres (see file userconf/project.properties).



Fields inherited from org.objectweb.speedo.stress.AllCollectionHelper
protected String DBSIZE(Code)(Java Doc)
protected String NO_DB_INIT(Code)(Java Doc)
protected static Object[] oids(Code)(Java Doc)

Methods inherited from org.objectweb.speedo.stress.AllCollectionHelper
protected String[] getClassNamesToInit()(Code)(Java Doc)
protected boolean keepOid()(Code)(Java Doc)
protected boolean linkObject()(Code)(Java Doc)
protected void prepareTask(Task task, Object _ctx)(Code)(Java Doc)
public void setUp() throws Exception(Code)(Java Doc)

Fields inherited from org.objectweb.speedo.stress.StressHelper
final protected static int ID_Th1(Code)(Java Doc)
final protected static int ID_Th10(Code)(Java Doc)
final protected static int ID_Th10Tx100000Cr1(Code)(Java Doc)
final protected static int ID_Th10Tx100000Cr10(Code)(Java Doc)
final protected static int ID_Th10Tx10000Cr1(Code)(Java Doc)
final protected static int ID_Th10Tx10000Cr10(Code)(Java Doc)
final protected static int ID_Th10Tx10000Cr100(Code)(Java Doc)
final protected static int ID_Th10Tx1000Cr1(Code)(Java Doc)
final protected static int ID_Th10Tx1000Cr10(Code)(Java Doc)
final protected static int ID_Th10Tx1000Cr100(Code)(Java Doc)
final protected static int ID_Th10Tx1000Cr1000(Code)(Java Doc)
final protected static int ID_Th10Tx1000Cr2000(Code)(Java Doc)
final protected static int ID_Th10Tx1000Cr500(Code)(Java Doc)
final protected static int ID_Th10Tx100Cr1(Code)(Java Doc)
final protected static int ID_Th10Tx100Cr10(Code)(Java Doc)
final protected static int ID_Th10Tx100Cr100(Code)(Java Doc)
final protected static int ID_Th10Tx100Cr1000(Code)(Java Doc)
final protected static int ID_Th10Tx100Cr10000(Code)(Java Doc)
final protected static int ID_Th10Tx100Cr2000(Code)(Java Doc)
final protected static int ID_Th10Tx100Cr500(Code)(Java Doc)
final protected static int ID_Th10Tx10Cr1(Code)(Java Doc)
final protected static int ID_Th10Tx10Cr10(Code)(Java Doc)
final protected static int ID_Th10Tx10Cr100(Code)(Java Doc)
final protected static int ID_Th10Tx10Cr1000(Code)(Java Doc)
final protected static int ID_Th10Tx10Cr10000(Code)(Java Doc)
final protected static int ID_Th10Tx10Cr2000(Code)(Java Doc)
final protected static int ID_Th10Tx10Cr500(Code)(Java Doc)
final protected static int ID_Th1Tx100000Cr1(Code)(Java Doc)
final protected static int ID_Th1Tx100000Cr10(Code)(Java Doc)
final protected static int ID_Th1Tx10000Cr1(Code)(Java Doc)
final protected static int ID_Th1Tx10000Cr10(Code)(Java Doc)
final protected static int ID_Th1Tx10000Cr100(Code)(Java Doc)
final protected static int ID_Th1Tx1000Cr1(Code)(Java Doc)
final protected static int ID_Th1Tx1000Cr10(Code)(Java Doc)
final protected static int ID_Th1Tx1000Cr100(Code)(Java Doc)
final protected static int ID_Th1Tx1000Cr1000(Code)(Java Doc)
final protected static int ID_Th1Tx1000Cr2000(Code)(Java Doc)
final protected static int ID_Th1Tx1000Cr500(Code)(Java Doc)
final protected static int ID_Th1Tx100Cr1(Code)(Java Doc)
final protected static int ID_Th1Tx100Cr10(Code)(Java Doc)
final protected static int ID_Th1Tx100Cr100(Code)(Java Doc)
final protected static int ID_Th1Tx100Cr1000(Code)(Java Doc)
final protected static int ID_Th1Tx100Cr10000(Code)(Java Doc)
final protected static int ID_Th1Tx100Cr2000(Code)(Java Doc)
final protected static int ID_Th1Tx100Cr500(Code)(Java Doc)
final protected static int ID_Th1Tx10Cr1(Code)(Java Doc)
final protected static int ID_Th1Tx10Cr10(Code)(Java Doc)
final protected static int ID_Th1Tx10Cr100(Code)(Java Doc)
final protected static int ID_Th1Tx10Cr1000(Code)(Java Doc)
final protected static int ID_Th1Tx10Cr10000(Code)(Java Doc)
final protected static int ID_Th1Tx10Cr2000(Code)(Java Doc)
final protected static int ID_Th1Tx10Cr500(Code)(Java Doc)
final protected static int ID_Th2(Code)(Java Doc)
final protected static int ID_Th2Tx100000Cr1(Code)(Java Doc)
final protected static int ID_Th2Tx100000Cr10(Code)(Java Doc)
final protected static int ID_Th2Tx10000Cr1(Code)(Java Doc)
final protected static int ID_Th2Tx10000Cr10(Code)(Java Doc)
final protected static int ID_Th2Tx10000Cr100(Code)(Java Doc)
final protected static int ID_Th2Tx1000Cr1(Code)(Java Doc)
final protected static int ID_Th2Tx1000Cr10(Code)(Java Doc)
final protected static int ID_Th2Tx1000Cr100(Code)(Java Doc)
final protected static int ID_Th2Tx1000Cr1000(Code)(Java Doc)
final protected static int ID_Th2Tx1000Cr2000(Code)(Java Doc)
final protected static int ID_Th2Tx1000Cr500(Code)(Java Doc)
final protected static int ID_Th2Tx100Cr1(Code)(Java Doc)
final protected static int ID_Th2Tx100Cr10(Code)(Java Doc)
final protected static int ID_Th2Tx100Cr100(Code)(Java Doc)
final protected static int ID_Th2Tx100Cr1000(Code)(Java Doc)
final protected static int ID_Th2Tx100Cr10000(Code)(Java Doc)
final protected static int ID_Th2Tx100Cr2000(Code)(Java Doc)
final protected static int ID_Th2Tx100Cr500(Code)(Java Doc)
final protected static int ID_Th2Tx10Cr1(Code)(Java Doc)
final protected static int ID_Th2Tx10Cr10(Code)(Java Doc)
final protected static int ID_Th2Tx10Cr100(Code)(Java Doc)
final protected static int ID_Th2Tx10Cr1000(Code)(Java Doc)
final protected static int ID_Th2Tx10Cr10000(Code)(Java Doc)
final protected static int ID_Th2Tx10Cr2000(Code)(Java Doc)
final protected static int ID_Th2Tx10Cr500(Code)(Java Doc)
final protected static int ID_Th3(Code)(Java Doc)
final protected static int ID_Th3Tx100000Cr1(Code)(Java Doc)
final protected static int ID_Th3Tx100000Cr10(Code)(Java Doc)
final protected static int ID_Th3Tx10000Cr1(Code)(Java Doc)
final protected static int ID_Th3Tx10000Cr10(Code)(Java Doc)
final protected static int ID_Th3Tx10000Cr100(Code)(Java Doc)
final protected static int ID_Th3Tx1000Cr1(Code)(Java Doc)
final protected static int ID_Th3Tx1000Cr10(Code)(Java Doc)
final protected static int ID_Th3Tx1000Cr100(Code)(Java Doc)
final protected static int ID_Th3Tx1000Cr1000(Code)(Java Doc)
final protected static int ID_Th3Tx1000Cr2000(Code)(Java Doc)
final protected static int ID_Th3Tx1000Cr500(Code)(Java Doc)
final protected static int ID_Th3Tx100Cr1(Code)(Java Doc)
final protected static int ID_Th3Tx100Cr10(Code)(Java Doc)
final protected static int ID_Th3Tx100Cr100(Code)(Java Doc)
final protected static int ID_Th3Tx100Cr1000(Code)(Java Doc)
final protected static int ID_Th3Tx100Cr10000(Code)(Java Doc)
final protected static int ID_Th3Tx100Cr2000(Code)(Java Doc)
final protected static int ID_Th3Tx100Cr500(Code)(Java Doc)
final protected static int ID_Th3Tx10Cr1(Code)(Java Doc)
final protected static int ID_Th3Tx10Cr10(Code)(Java Doc)
final protected static int ID_Th3Tx10Cr100(Code)(Java Doc)
final protected static int ID_Th3Tx10Cr1000(Code)(Java Doc)
final protected static int ID_Th3Tx10Cr10000(Code)(Java Doc)
final protected static int ID_Th3Tx10Cr2000(Code)(Java Doc)
final protected static int ID_Th3Tx10Cr500(Code)(Java Doc)
final protected static int ID_Th4(Code)(Java Doc)
final protected static int ID_Th4Tx100000Cr1(Code)(Java Doc)
final protected static int ID_Th4Tx100000Cr10(Code)(Java Doc)
final protected static int ID_Th4Tx10000Cr1(Code)(Java Doc)
final protected static int ID_Th4Tx10000Cr10(Code)(Java Doc)
final protected static int ID_Th4Tx10000Cr100(Code)(Java Doc)
final protected static int ID_Th4Tx1000Cr1(Code)(Java Doc)
final protected static int ID_Th4Tx1000Cr10(Code)(Java Doc)
final protected static int ID_Th4Tx1000Cr100(Code)(Java Doc)
final protected static int ID_Th4Tx1000Cr1000(Code)(Java Doc)
final protected static int ID_Th4Tx1000Cr2000(Code)(Java Doc)
final protected static int ID_Th4Tx1000Cr500(Code)(Java Doc)
final protected static int ID_Th4Tx100Cr1(Code)(Java Doc)
final protected static int ID_Th4Tx100Cr10(Code)(Java Doc)
final protected static int ID_Th4Tx100Cr100(Code)(Java Doc)
final protected static int ID_Th4Tx100Cr1000(Code)(Java Doc)
final protected static int ID_Th4Tx100Cr10000(Code)(Java Doc)
final protected static int ID_Th4Tx100Cr2000(Code)(Java Doc)
final protected static int ID_Th4Tx100Cr500(Code)(Java Doc)
final protected static int ID_Th4Tx10Cr1(Code)(Java Doc)
final protected static int ID_Th4Tx10Cr10(Code)(Java Doc)
final protected static int ID_Th4Tx10Cr100(Code)(Java Doc)
final protected static int ID_Th4Tx10Cr1000(Code)(Java Doc)
final protected static int ID_Th4Tx10Cr10000(Code)(Java Doc)
final protected static int ID_Th4Tx10Cr2000(Code)(Java Doc)
final protected static int ID_Th4Tx10Cr500(Code)(Java Doc)
protected String INTERACTIVE(Code)(Java Doc)
protected String NBPRINT(Code)(Java Doc)
final public static String STRESS_LOG_NAME(Code)(Java Doc)
final protected static int[] TESTNBC(Code)(Java Doc)
protected String THREAD(Code)(Java Doc)
protected String TIMEOUT(Code)(Java Doc)
protected String TX(Code)(Java Doc)
protected static CacheAttributeController cac(Code)(Java Doc)
protected boolean debug(Code)(Java Doc)
public static Vector errors(Code)(Java Doc)
protected boolean hasRan(Code)(Java Doc)
protected boolean interactive(Code)(Java Doc)
protected static int nbPrint(Code)(Java Doc)
protected static int nbTest(Code)(Java Doc)
public static Vector rollbackExceptions(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.