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


org.objectweb.jonas.stests.util.JTestCase
   org.objectweb.jonas.stests.bank.A_bank

All known Subclasses:   org.objectweb.jonas.stests.bank.A_bankWrite,  org.objectweb.jonas.stests.bank.F_bankCRU,  org.objectweb.jonas.stests.bank.F_bankCRUpf,
A_bank
abstract public class A_bank 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  booleanthreadfail
    

Constructor Summary
public  A_bank(String name)
    

Method Summary
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  voidtestBasicRead()
    
public  voidtestBasicReadTx()
    
public  voidtestDeadlock()
    
public  voidtestLongRead()
    
public  voidtestLongReadTx()
    
public  voidtestMultiLongOneMove()
    
public  voidtestMultiLongOneMoveTx()
    
public  voidtestMultiLongRead()
    
public  voidtestMultiLongReadTx()
    
public  voidtestMultiOneMove()
    
public  voidtestMultiOneMoveTx()
    
public  voidtestMultiRead()
    
public  voidtestMultiReadTx()
    
public  voidtestMultiSameAccount()
    
public  voidtestMultiShortReadTx()
    
public  voidtestPrefetch()
    
public  voidtestSameAccount()
    
public  voidtestTh3OneMoveTx()
    
public  voidtestTh5OneMoveTx()
    
public  voidtestTh7OneMoveTx()
    

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)



threadfail
public static boolean threadfail(Code)




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




Method Detail
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() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



testBasicRead
public void testBasicRead() throws Exception(Code)



testBasicReadTx
public void testBasicReadTx() throws Exception(Code)



testDeadlock
public void testDeadlock() throws Exception(Code)



testLongRead
public void testLongRead() throws Exception(Code)



testLongReadTx
public void testLongReadTx() throws Exception(Code)



testMultiLongOneMove
public void testMultiLongOneMove() throws Exception(Code)
This test is also used for perf measures => DO NOT CHANGE ARG VALUES



testMultiLongOneMoveTx
public void testMultiLongOneMoveTx() throws Exception(Code)
This test is also used for perf measures => DO NOT CHANGE ARG VALUES



testMultiLongRead
public void testMultiLongRead() throws Exception(Code)
This test is also used for perf measures => DO NOT CHANGE ARG VALUES



testMultiLongReadTx
public void testMultiLongReadTx() throws Exception(Code)
This test is also used for perf measures => DO NOT CHANGE ARG VALUES



testMultiOneMove
public void testMultiOneMove() throws Exception(Code)



testMultiOneMoveTx
public void testMultiOneMoveTx() throws Exception(Code)



testMultiRead
public void testMultiRead() throws Exception(Code)



testMultiReadTx
public void testMultiReadTx() throws Exception(Code)



testMultiSameAccount
public void testMultiSameAccount() throws Exception(Code)



testMultiShortReadTx
public void testMultiShortReadTx() throws Exception(Code)



testPrefetch
public void testPrefetch() throws Exception(Code)



testSameAccount
public void testSameAccount() throws Exception(Code)



testTh3OneMoveTx
public void testTh3OneMoveTx() throws Exception(Code)



testTh5OneMoveTx
public void testTh5OneMoveTx() throws Exception(Code)



testTh7OneMoveTx
public void testTh7OneMoveTx() throws Exception(Code)



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

Methods inherited from org.objectweb.jonas.stests.util.JTestCase
public static void debug(String msg)(Code)(Java Doc)
protected void setUp() throws Exception(Code)(Java Doc)
public void sleep(int msec)(Code)(Java Doc)
public static void stopTxAt(int tt)(Code)(Java Doc)
public void testEmpty() throws Exception(Code)(Java Doc)
public void useBeans(String filename)(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.