Java Doc for QueryHelper.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.QueryHelper

All known Subclasses:   org.objectweb.speedo.stress.TestQueryConcurrency,
QueryHelper
abstract public class QueryHelper extends StressHelper (Code)

author:
   M. Guillemin

Inner Class :public class QueryCtx

Field Summary
protected  StringDBSIZE
    
protected  StringNO_DB_INIT
    
protected static  Object[]oids
     is the lists of object identifier prepared before the transaction execution.

Constructor Summary
public  QueryHelper(String s)
    

Method Summary
protected  String[]getClassNamesToInit()
    
protected  booleankeepOid()
    
protected  voidprepareTask(Task task, Object _ctx)
     Creates the persistent object if it is not already done.
protected  voidprepareTest(TaskManager tm, Object ctx)
    

Field Detail
DBSIZE
protected String DBSIZE(Code)



NO_DB_INIT
protected String NO_DB_INIT(Code)



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 }




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




Method Detail
getClassNamesToInit
protected String[] getClassNamesToInit()(Code)



keepOid
protected boolean keepOid()(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.



prepareTest
protected void prepareTest(TaskManager tm, Object ctx)(Code)



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.