Java Doc for A_bankRead.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » jtests » clients » distribution » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.jtests.clients.distribution 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.jtests.util.JTestCase
   org.objectweb.jonas.jtests.clients.distribution.A_bankRead

All known Subclasses:   org.objectweb.jonas.jtests.clients.distribution.F_bankRO,  org.objectweb.jonas.jtests.clients.distribution.A_bankLoad,  org.objectweb.jonas.jtests.clients.distribution.A_bank,  org.objectweb.jonas.jtests.clients.distribution.A_bankLwrite,
A_bankRead
abstract public class A_bankRead extends JTestCase (Code)


Field Summary
final protected static  intOP_CREATE
    
final protected static  intOP_MOVE
    
final protected static  intOP_MOVETO
    
final protected static  intOP_ONEMOVE
    
final protected static  intOP_ONEMOVETX
    
final protected static  intOP_READ
    
final protected static  intOP_READTX
    
final protected static  intOP_REMOVE
    
final static  intaccountNb
    
protected static  ManagerHomehome
    
final static  intinitialValue
    
protected static  Managermanager
    
public static  Throwablethreadex
    
public static  booleanthreadfail
    

Constructor Summary
public  A_bankRead(String name)
    

Method Summary
public  voidcreateOpe(int action, int accmin, int accmax, int loops, int threads)
    
public  voidcreateOpe(int action, int accmin, int accmax, int loops, int threads, int amount)
    
abstract public  StringgetManagerHomeName()
    
abstract public  booleangetPrefetch()
    
public  voidope(int action, int accmin, int accmax, int loops, int threads)
    
public  voidope(int action, int accmin, int accmax, int loops, int threads, int amount)
    
public  voidope(int action, int accmin, int accmax, int loops, int threads, int amount, boolean verify)
     generic operation.
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtest3Readers()
    
public  voidtest3ReadersTx()
    
public  voidtest4Readers()
    
public  voidtest4ReadersTx()
    
public  voidtest5Readers()
    
public  voidtest5ReadersTx()
    
public  voidtest8Readers()
    
public  voidtest8ReadersTx()
    
public  voidtestBasicRead()
    
public  voidtestBasicReadTx()
    
public  voidtestCheckAll()
    
public  voidtestMultiRead()
    
public  voidtestMultiReadTx()
    
public  voidtestMultiShortReadTx()
    

Field Detail
OP_CREATE
final protected static int OP_CREATE(Code)



OP_MOVE
final protected static int OP_MOVE(Code)



OP_MOVETO
final protected static int OP_MOVETO(Code)



OP_ONEMOVE
final protected static int OP_ONEMOVE(Code)



OP_ONEMOVETX
final protected static int OP_ONEMOVETX(Code)



OP_READ
final protected static int OP_READ(Code)



OP_READTX
final protected static int OP_READTX(Code)



OP_REMOVE
final protected static int OP_REMOVE(Code)



accountNb
final static int accountNb(Code)



home
protected static ManagerHome home(Code)



initialValue
final static int initialValue(Code)



manager
protected static Manager manager(Code)



threadex
public static Throwable threadex(Code)



threadfail
public static boolean threadfail(Code)




Constructor Detail
A_bankRead
public A_bankRead(String name)(Code)




Method Detail
createOpe
public void createOpe(int action, int accmin, int accmax, int loops, int threads) throws Exception(Code)
Create test accounts and run test ope



createOpe
public void createOpe(int action, int accmin, int accmax, int loops, int threads, int amount) throws Exception(Code)
Create test accounts and run test ope



getManagerHomeName
abstract public String getManagerHomeName()(Code)



getPrefetch
abstract public boolean getPrefetch()(Code)



ope
public void ope(int action, int accmin, int accmax, int loops, int threads) throws Exception(Code)



ope
public void ope(int action, int accmin, int accmax, int loops, int threads, int amount) throws Exception(Code)



ope
public void ope(int action, int accmin, int accmax, int loops, int threads, int amount, boolean verify) throws Exception(Code)
generic operation.
Parameters:
  accmin - min range for account nb
Parameters:
  accmax - max range for account nb
Parameters:
  loops - nb of loop in each thread
Parameters:
  threads - nb of threads running the same operations



setUp
protected void setUp()(Code)



tearDown
protected void tearDown() throws Exception(Code)



test3Readers
public void test3Readers() throws Exception(Code)
Operation= read min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 3 verification of base's state
throws:
  Exception -



test3ReadersTx
public void test3ReadersTx() throws Exception(Code)
Operation= read in transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 3 verification of base's state
throws:
  Exception -



test4Readers
public void test4Readers() throws Exception(Code)
Operation= read min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 4 verification of base's state
throws:
  Exception -



test4ReadersTx
public void test4ReadersTx() throws Exception(Code)
Operation= read in transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 4 verification of base's state
throws:
  Exception -



test5Readers
public void test5Readers() throws Exception(Code)
Operation= read min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 5 verification of base's state
throws:
  Exception -



test5ReadersTx
public void test5ReadersTx() throws Exception(Code)
Operation= read in transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 5 verification of base's state
throws:
  Exception -



test8Readers
public void test8Readers() throws Exception(Code)
Operation= read min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 8 verification of base's state
throws:
  Exception -



test8ReadersTx
public void test8ReadersTx() throws Exception(Code)
Operation= read in transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 8 verification of base's state
throws:
  Exception -



testBasicRead
public void testBasicRead() throws Exception(Code)
Operation= read min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 1 nb of threads running the same operations = 1 no verification
throws:
  Exception -



testBasicReadTx
public void testBasicReadTx() throws Exception(Code)
Operation= read in transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 1 nb of threads running the same operations = 1 no verification
throws:
  Exception -



testCheckAll
public void testCheckAll() throws Exception(Code)



testMultiRead
public void testMultiRead() throws Exception(Code)
Operation= read outside transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 1 nb of threads running the same operations = 10 verification of base's state
throws:
  Exception -



testMultiReadTx
public void testMultiReadTx() throws Exception(Code)
Operation= read inside transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 1 nb of threads running the same operations = 10 verification of base's state
throws:
  Exception -



testMultiShortReadTx
public void testMultiShortReadTx() throws Exception(Code)
Operation= read inside transaction min range for account nb = 0 max range for account nb = 9 nb of loop in each thread = 10 nb of threads running the same operations = 10 verification of base's state
throws:
  Exception -



Fields inherited from org.objectweb.jonas.jtests.util.JTestCase
final public static String PACKAGE(Code)(Java Doc)
protected static Context ictx(Code)(Java Doc)
protected static String jonasName(Code)(Java Doc)
protected StringBuffer msgerror(Code)(Java Doc)
protected static String testtorun(Code)(Java Doc)
public static UserTransaction utx(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.jtests.util.JTestCase
protected static void callTest(String classname, String testname) throws Exception(Code)(Java Doc)
protected static void callrepeatedTest(String classname, String testname, int n) throws Exception(Code)(Java Doc)
public static void debug(String msg)(Code)(Java Doc)
public static void error(String msg)(Code)(Java Doc)
public DBEnv getDBEnv()(Code)(Java Doc)
public int random(int max) throws RemoteException(Code)(Java Doc)
protected void setUp()(Code)(Java Doc)
public void sleep(int msec)(Code)(Java Doc)
public void sync(boolean passivate)(Code)(Java Doc)
protected void tearDown() throws Exception(Code)(Java Doc)
public void testEmpty() throws Exception(Code)(Java Doc)
public void unloadBeans(String filename)(Code)(Java Doc)
public void useBeans(String filename, boolean create)(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.