Java Doc for ClientTransaction.java in  » Net » Terracotta » com » tc » object » tx » 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 » Net » Terracotta » com.tc.object.tx 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.tc.object.tx.ClientTransaction

All known Subclasses:   com.tc.object.tx.TestClientTransaction,  com.tc.object.tx.AbstractClientTransaction,
ClientTransaction
public interface ClientTransaction (Code)
Hangs on to a grouping of changes to be sent as a batch to the server. Changes are accumulated by the ClientTransactionManager.
author:
   steve




Method Summary
public  voidaddDmiDescritor(DmiDescriptor dd)
    
public  ListaddNotifiesTo(List notifies)
    
public  voidaddNotify(Notify notify)
    
public  voidarrayChanged(TCObject source, int startPos, Object array, int length)
    
public  voidcreateObject(TCObject source)
    
public  voidcreateRoot(String name, ObjectID rootID)
    
public  voidfieldChanged(TCObject source, String classname, String fieldname, Object newValue, int index)
    
public  LockID[]getAllLockIDs()
    
public  MapgetChangeBuffers()
    
public  ListgetDmiDescriptors()
    
public  LockIDgetLockID()
    
public  MapgetNewRoots()
    
public  intgetNotifiesCount()
    
public  CollectiongetReferencesOfObjectsInTxn()
    
public  SequenceIDgetSequenceID()
    
public  TransactionIDgetTransactionID()
    
public  TxnTypegetTransactionType()
    
public  booleanhasChanges()
    
public  booleanhasChangesOrNotifies()
    
public  booleanisConcurrent()
    
public  booleanisNull()
    
public  voidliteralValueChanged(TCObject source, Object newValue, Object oldValue)
    
public  voidlogicalInvoke(TCObject source, int method, Object[] parameters, String methodName)
    
public  voidsetAlreadyCommitted()
    
public  voidsetSequenceID(SequenceID sequenceID)
    
public  voidsetTransactionContext(TransactionContext transactionContext)
    
public  voidupdateMBean(ClientTxMonitorMBean txMBean)
    



Method Detail
addDmiDescritor
public void addDmiDescritor(DmiDescriptor dd)(Code)
Add a new DMI descriptor
Parameters:
  dd - Descriptor



addNotifiesTo
public List addNotifiesTo(List notifies)(Code)
Record Notify's
Parameters:
  notifies - Of Notify's All Notify's



addNotify
public void addNotify(Notify notify)(Code)
Add a new Notify
Parameters:
  notify - Notify



arrayChanged
public void arrayChanged(TCObject source, int startPos, Object array, int length)(Code)
Record array change
Parameters:
  source - TCObject for instance
Parameters:
  startPos - Index into array
Parameters:
  array - Partial array or value
Parameters:
  length - Length of array



createObject
public void createObject(TCObject source)(Code)
Record new object creation
Parameters:
  source - TCObject for new object



createRoot
public void createRoot(String name, ObjectID rootID)(Code)
Record new root
Parameters:
  name - Root name
Parameters:
  rootID - ObjectID for root value



fieldChanged
public void fieldChanged(TCObject source, String classname, String fieldname, Object newValue, int index)(Code)
Record field changed
Parameters:
  source - TCObject for value
Parameters:
  classname - Class name
Parameters:
  fieldname - Field name
Parameters:
  newValue - New field value
Parameters:
  index - Index into array if array field



getAllLockIDs
public LockID[] getAllLockIDs()(Code)
Get all locks associated with this transaction All locks



getChangeBuffers
public Map getChangeBuffers()(Code)
Get all change buffers associated with this transaction Map of TCObject to TCChangeBuffer



getDmiDescriptors
public List getDmiDescriptors()(Code)
Get all DmiDescriptors List of DmiDescriptors in transaction



getLockID
public LockID getLockID()(Code)
Get initial lock identifier Identifier



getNewRoots
public Map getNewRoots()(Code)
Get new roots in this transaction Map of Root name to ObjectID



getNotifiesCount
public int getNotifiesCount()(Code)
Count of notify's in transaction



getReferencesOfObjectsInTxn
public Collection getReferencesOfObjectsInTxn()(Code)
Get all references of objects included in the transaction Collection of referenced objects



getSequenceID
public SequenceID getSequenceID()(Code)
Sequence identifier in transaction stream



getTransactionID
public TransactionID getTransactionID()(Code)
Get transaction identifier Identifier



getTransactionType
public TxnType getTransactionType()(Code)
Get transaction type Type



hasChanges
public boolean hasChanges()(Code)
True if has changes in transaction



hasChangesOrNotifies
public boolean hasChangesOrNotifies()(Code)
Check whether transactoin has changes or notifications True if has changes or notifies



isConcurrent
public boolean isConcurrent()(Code)
True if concurrent transaction



isNull
public boolean isNull()(Code)
Check whether this is a null transaction True if null



literalValueChanged
public void literalValueChanged(TCObject source, Object newValue, Object oldValue)(Code)
Record literal value changed
Parameters:
  source - TCObject for instance
Parameters:
  newValue - New value for instance
Parameters:
  oldValue - Old value for instance



logicalInvoke
public void logicalInvoke(TCObject source, int method, Object[] parameters, String methodName)(Code)
Record logical invocation
Parameters:
  source - Source of invoke
Parameters:
  method - Method identifier
Parameters:
  parameters - Parameter values
Parameters:
  methodName - Method name



setAlreadyCommitted
public void setAlreadyCommitted()(Code)
Set transaction as already committed



setSequenceID
public void setSequenceID(SequenceID sequenceID)(Code)
Indicate place in sequence of transactions
Parameters:
  sequenceID - Identifier



setTransactionContext
public void setTransactionContext(TransactionContext transactionContext)(Code)
Set the transaction context (type and related locks)
Parameters:
  transactionContext - Context



updateMBean
public void updateMBean(ClientTxMonitorMBean txMBean)(Code)
Update MBean with state
Parameters:
  txMBean - MBean to update



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