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


com.tc.objectserver.tx.ServerTransactionManager

All known Subclasses:   com.tc.objectserver.tx.TestServerTransactionManager,  com.tc.objectserver.tx.ServerTransactionManagerImpl,
ServerTransactionManager
public interface ServerTransactionManager (Code)




Method Summary
public  voidacknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee)
     received an acknowledgement from the client that the changes in the given transaction have been applied.
public  voidaddTransactionListener(ServerTransactionListener listener)
    
public  voidaddWaitingForAcknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee)
    
public  voidapply(ServerTransaction txn, Map objects, BackReferences includeIDs, ObjectInstanceMonitor instanceMonitor)
     Apply the changes in the given transaction to the given set of checked out objects.
public  voidbroadcasted(NodeID waiter, TransactionID requestID)
     The broadcast stage is completed.
public  voidcallBackOnTxnsInSystemCompletion(TxnsInSystemCompletionLister l)
    
public  voidcommit(PersistenceTransactionProvider ptxp, Collection objects, Map newRoots, Collection appliedServerTransactionIDs)
     Commits all the changes in objects and releases the objects This could potentially trigger an acknowledgement to the orginating client.
public  voiddump()
    
public  voidgoToActiveMode()
    
public  voidincomingTransactions(NodeID nodeID, Set txnIDs, Collection txns, boolean relayed)
    
public  booleanisWaiting(NodeID waiter, TransactionID requestID)
    
public  voidremoveTransactionListener(ServerTransactionListener listener)
    
public  voidsetResentTransactionIDs(NodeID source, Collection transactionIDs)
    
public  voidshutdownNode(NodeID nodeID)
     called when a Node (Client or Server) leaves.
public  voidskipApplyAndCommit(ServerTransaction txn)
    
public  voidstart(Set cids)
    
public  voidtransactionsRelayed(NodeID node, Set serverTxnIDs)
    



Method Detail
acknowledgement
public void acknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee)(Code)
received an acknowledgement from the client that the changes in the given transaction have been applied. This could potentially trigger an acknowledgement to the orginating client.
Parameters:
  waiter - - NodeID of the sender of the message that is waiting for a response
Parameters:
  requesterID - - The id of the request sent by the channel ID that is waiting for a response
Parameters:
  gtxID - - The GlobalTransactionID associated with the transaction.
Parameters:
  waitee - - the channelID that waiter is waiting for a response from



addTransactionListener
public void addTransactionListener(ServerTransactionListener listener)(Code)



addWaitingForAcknowledgement
public void addWaitingForAcknowledgement(NodeID waiter, TransactionID requestID, NodeID waitee)(Code)
Add "waiter/requestID" is waiting for clientID "waitee" to respond to my message send
Parameters:
  waiter - - ChannelID of the sender of the message that is waiting for a response
Parameters:
  requestID - - The id of the request sent by the channel ID that is waiting for a response
Parameters:
  waitee - - the channelID that waiter is waiting for a response from



apply
public void apply(ServerTransaction txn, Map objects, BackReferences includeIDs, ObjectInstanceMonitor instanceMonitor)(Code)
Apply the changes in the given transaction to the given set of checked out objects.
Parameters:
  instanceMonitor -



broadcasted
public void broadcasted(NodeID waiter, TransactionID requestID)(Code)
The broadcast stage is completed. This could potentially trigger an acknowledgement to the orginating client.



callBackOnTxnsInSystemCompletion
public void callBackOnTxnsInSystemCompletion(TxnsInSystemCompletionLister l)(Code)



commit
public void commit(PersistenceTransactionProvider ptxp, Collection objects, Map newRoots, Collection appliedServerTransactionIDs)(Code)
Commits all the changes in objects and releases the objects This could potentially trigger an acknowledgement to the orginating client.



dump
public void dump()(Code)



goToActiveMode
public void goToActiveMode()(Code)



incomingTransactions
public void incomingTransactions(NodeID nodeID, Set txnIDs, Collection txns, boolean relayed)(Code)



isWaiting
public boolean isWaiting(NodeID waiter, TransactionID requestID)(Code)
Is the waiter done waiting or does it need to continue waiting?
Parameters:
  waiter - - ChannelID of the sender of the message that is waiting for a response
Parameters:
  requestID - - The id of the request sent by the channel ID that is waiting for a response



removeTransactionListener
public void removeTransactionListener(ServerTransactionListener listener)(Code)



setResentTransactionIDs
public void setResentTransactionIDs(NodeID source, Collection transactionIDs)(Code)



shutdownNode
public void shutdownNode(NodeID nodeID)(Code)
called when a Node (Client or Server) leaves.



skipApplyAndCommit
public void skipApplyAndCommit(ServerTransaction txn)(Code)
Notifies the transaction managed that the given transaction is being skipped



start
public void start(Set cids)(Code)



transactionsRelayed
public void transactionsRelayed(NodeID node, Set serverTxnIDs)(Code)



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