Java Doc for RAIDb1DistributedRequestManager.java in  » Database-JDBC-Connection-Pool » sequoia-2.10.9 » org » continuent » sequoia » controller » requestmanager » distributed » 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 JDBC Connection Pool » sequoia 2.10.9 » org.continuent.sequoia.controller.requestmanager.distributed 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager
   org.continuent.sequoia.controller.requestmanager.distributed.RAIDb1DistributedRequestManager

RAIDb1DistributedRequestManager
public class RAIDb1DistributedRequestManager extends DistributedRequestManager (Code)
This class defines a RAIDb1DistributedRequestManager
author:
   Emmanuel Cecchet
author:
   Jean-Bernard van Zuylen
author:
  

author:
   Damian Arregui
version:
   1.0



Constructor Summary
public  RAIDb1DistributedRequestManager(DistributedVirtualDatabase vdb, AbstractScheduler scheduler, AbstractResultCache cache, AbstractLoadBalancer loadBalancer, RecoveryLog recoveryLog, long beginTimeout, long commitTimeout, long rollbackTimeout)
    

Method Summary
public  voiddistributedAbort(String login, long transactionId)
    
public  ExecuteResultdistributedCallableStatementExecute(StoredProcedure proc)
    
public  ControllerResultSetdistributedCallableStatementExecuteQuery(StoredProcedure proc)
    
public  ExecuteUpdateResultdistributedCallableStatementExecuteUpdate(StoredProcedure proc)
    
public  voiddistributedCommit(String login, long transactionId)
    
public  voiddistributedReleaseSavepoint(String login, long transactionId, String name)
    
public  voiddistributedRollback(String login, long transactionId)
    
public  voiddistributedRollback(String login, long transactionId, String savepointName)
    
public  voiddistributedSetSavepoint(String login, long transactionId, String name)
    
public  ExecuteResultdistributedStatementExecute(AbstractRequest request)
    
public  ControllerResultSetdistributedStatementExecuteQuery(SelectRequest request)
    
public  ExecuteUpdateResultdistributedStatementExecuteUpdate(AbstractWriteRequest request)
    
public  GeneratedKeysResultdistributedStatementExecuteUpdateWithKeys(AbstractWriteRequest request)
    
public  ControllerResultSetexecRemoteStatementExecuteQuery(SelectRequest request)
    


Constructor Detail
RAIDb1DistributedRequestManager
public RAIDb1DistributedRequestManager(DistributedVirtualDatabase vdb, AbstractScheduler scheduler, AbstractResultCache cache, AbstractLoadBalancer loadBalancer, RecoveryLog recoveryLog, long beginTimeout, long commitTimeout, long rollbackTimeout) throws SQLException, NotCompliantMBeanException(Code)
Creates a new RAIDb1DistributedRequestManager instance
Parameters:
  vdb - the virtual database this request manager belongs to
Parameters:
  scheduler - the Request Scheduler to use
Parameters:
  cache - a Query Cache implementation
Parameters:
  loadBalancer - the Request Load Balancer to use
Parameters:
  recoveryLog - the Log Recovery to use
Parameters:
  beginTimeout - timeout in seconds for begin
Parameters:
  commitTimeout - timeout in seconds for commit
Parameters:
  rollbackTimeout - timeout in seconds for rollback
throws:
  SQLException - if an error occurs
throws:
  NotCompliantMBeanException - if the MBean is not JMX compliant




Method Detail
distributedAbort
public void distributedAbort(String login, long transactionId) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedAbort(Stringlong)



distributedCallableStatementExecute
public ExecuteResult distributedCallableStatementExecute(StoredProcedure proc) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedCallableStatementExecute(StoredProcedure)



distributedCallableStatementExecuteQuery
public ControllerResultSet distributedCallableStatementExecuteQuery(StoredProcedure proc) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedCallableStatementExecuteQuery(StoredProcedure)



distributedCallableStatementExecuteUpdate
public ExecuteUpdateResult distributedCallableStatementExecuteUpdate(StoredProcedure proc) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedCallableStatementExecuteUpdate(org.continuent.sequoia.controller.requests.StoredProcedure)



distributedCommit
public void distributedCommit(String login, long transactionId) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedCommit(Stringlong)



distributedReleaseSavepoint
public void distributedReleaseSavepoint(String login, long transactionId, String name) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedReleaseSavepoint(StringlongString)



distributedRollback
public void distributedRollback(String login, long transactionId) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedRollback(Stringlong)



distributedRollback
public void distributedRollback(String login, long transactionId, String savepointName) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedRollback(StringlongString)



distributedSetSavepoint
public void distributedSetSavepoint(String login, long transactionId, String name) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedSetSavepoint(StringlongString)



distributedStatementExecute
public ExecuteResult distributedStatementExecute(AbstractRequest request) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedStatementExecute(org.continuent.sequoia.controller.requests.AbstractRequest)



distributedStatementExecuteQuery
public ControllerResultSet distributedStatementExecuteQuery(SelectRequest request) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedStatementExecuteQuery(org.continuent.sequoia.controller.requests.SelectRequest)



distributedStatementExecuteUpdate
public ExecuteUpdateResult distributedStatementExecuteUpdate(AbstractWriteRequest request) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedStatementExecuteUpdate(org.continuent.sequoia.controller.requests.AbstractWriteRequest)



distributedStatementExecuteUpdateWithKeys
public GeneratedKeysResult distributedStatementExecuteUpdateWithKeys(AbstractWriteRequest request) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.distributedStatementExecuteUpdateWithKeys(org.continuent.sequoia.controller.requests.AbstractWriteRequest)



execRemoteStatementExecuteQuery
public ControllerResultSet execRemoteStatementExecuteQuery(SelectRequest request) throws SQLException(Code)

See Also:   org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager.execRemoteStatementExecuteQuery(org.continuent.sequoia.controller.requests.SelectRequest)



Fields inherited from org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager
final public static long CONTROLLER_ID_BITS(Code)(Java Doc)
final public static long CONTROLLER_ID_BIT_MASK(Code)(Java Doc)
final public static int CONTROLLER_ID_SHIFT_BITS(Code)(Java Doc)
final public static Integer SUCCESSFUL_COMPLETION(Code)(Java Doc)
final public static long TRANSACTION_ID_BIT_MASK(Code)(Java Doc)
protected LinkedList distributedTransactions(Code)(Java Doc)
protected DistributedVirtualDatabase dvdb(Code)(Java Doc)

Methods inherited from org.continuent.sequoia.controller.requestmanager.distributed.DistributedRequestManager
public void abort(long transactionId, boolean logAbort, boolean forceAbort) throws SQLException(Code)(Java Doc)
public void addFailedOnAllBackends(AbstractRequest request, boolean needSchedulerNotification)(Code)(Java Doc)
public long begin(String login, boolean isPersistentConnection, long persistentConnectionId) throws SQLException(Code)(Java Doc)
public void blockActivity() throws SQLException(Code)(Java Doc)
public ExecuteResult callableStatementExecute(StoredProcedure proc) throws SQLException(Code)(Java Doc)
public ControllerResultSet callableStatementExecuteQuery(StoredProcedure proc) throws SQLException(Code)(Java Doc)
public ExecuteUpdateResult callableStatementExecuteUpdate(StoredProcedure proc) throws SQLException(Code)(Java Doc)
public void cleanupAllFailedQueriesFromController(long failedControllerId)(Code)(Java Doc)
public void cleanupRollbackFromOtherController(long tId)(Code)(Java Doc)
public void closePersistentConnection(Long connectionId)(Code)(Java Doc)
public void commit(long transactionId, boolean logCommit, boolean emptyTransaction) throws SQLException(Code)(Java Doc)
public void completeFailedOnAllBackends(AbstractRequest request, boolean success, boolean disableBackendOnSuccess, int updateCount)(Code)(Java Doc)
public void completeTransaction(Long tid)(Code)(Java Doc)
public void disableBackend(DatabaseBackend db, boolean forceDisable) throws SQLException(Code)(Java Doc)
public void disableBackendsWithCheckpoint(ArrayList backendInfos, String checkpointName) throws SQLException(Code)(Java Doc)
abstract public void distributedAbort(String login, long transactionId) throws SQLException(Code)(Java Doc)
abstract public ExecuteResult distributedCallableStatementExecute(StoredProcedure proc) throws SQLException(Code)(Java Doc)
abstract public ControllerResultSet distributedCallableStatementExecuteQuery(StoredProcedure proc) throws SQLException(Code)(Java Doc)
abstract public ExecuteUpdateResult distributedCallableStatementExecuteUpdate(StoredProcedure proc) throws SQLException(Code)(Java Doc)
public void distributedClosePersistentConnection(String login, long persistentConnectionId)(Code)(Java Doc)
abstract public void distributedCommit(String login, long transactionId) throws SQLException(Code)(Java Doc)
public void distributedFailoverForPersistentConnection(long persistentConnectionId)(Code)(Java Doc)
public void distributedFailoverForTransaction(long currentTid)(Code)(Java Doc)
public void distributedOpenPersistentConnection(String login, long persistentConnectionId) throws SQLException(Code)(Java Doc)
abstract public void distributedReleaseSavepoint(String login, long transactionId, String name) throws SQLException(Code)(Java Doc)
abstract public void distributedRollback(String login, long transactionId) throws SQLException(Code)(Java Doc)
abstract public void distributedRollback(String login, long transactionId, String savepointName) throws SQLException(Code)(Java Doc)
abstract public void distributedSetSavepoint(String login, long transactionId, String name) throws SQLException(Code)(Java Doc)
abstract public ExecuteResult distributedStatementExecute(AbstractRequest request) throws SQLException(Code)(Java Doc)
abstract public ControllerResultSet distributedStatementExecuteQuery(SelectRequest request) throws SQLException(Code)(Java Doc)
abstract public ExecuteUpdateResult distributedStatementExecuteUpdate(AbstractWriteRequest request) throws SQLException(Code)(Java Doc)
abstract public GeneratedKeysResult distributedStatementExecuteUpdateWithKeys(AbstractWriteRequest request) throws SQLException(Code)(Java Doc)
public void enableBackend(DatabaseBackend db) throws SQLException(Code)(Java Doc)
public ControllerResultSet execLocalStatementExecuteQuery(SelectRequest request) throws NoMoreBackendException, SQLException(Code)(Java Doc)
public ExecuteResult execLocallyCallableStatementExecute(StoredProcedure proc) throws AllBackendsFailedException, SQLException(Code)(Java Doc)
public ControllerResultSet execLocallyCallableStatementExecuteQuery(StoredProcedure proc) throws AllBackendsFailedException, SQLException(Code)(Java Doc)
abstract public ControllerResultSet execRemoteStatementExecuteQuery(SelectRequest request) throws SQLException(Code)(Java Doc)
public long getControllerId()(Code)(Java Doc)
public Trace getLogger()(Code)(Java Doc)
public long getNextConnectionId(long id)(Code)(Java Doc)
public long getNextRequestId()(Code)(Java Doc)
protected Serializable getRequestResultFromFailoverCache(List successfulControllers, long id) throws NoResultAvailableException(Code)(Java Doc)
public VirtualDatabase getVirtualDatabase()(Code)(Java Doc)
public boolean isDistributedTransaction(long currentTid)(Code)(Java Doc)
public void lazyTransactionStart(AbstractRequest request) throws SQLException(Code)(Java Doc)
protected void notifyControllerInconsistency(AbstractRequest request, ArrayList inconsistentControllers) throws SQLException(Code)(Java Doc)
protected void notifyRequestCompletion(AbstractRequest request, boolean success, boolean disableBackendOnSuccess, ArrayList backendsToNotify) throws SQLException(Code)(Java Doc)
protected void notifyRequestCompletion(AbstractRequest request, boolean success, boolean disableBackendOnSuccess, ArrayList backendsToNotify, int requestUpdateCount) throws SQLException(Code)(Java Doc)
public void releaseSavepoint(long transactionId, String name) throws SQLException(Code)(Java Doc)
public void resumeActivity()(Code)(Java Doc)
public void rollback(long transactionId, boolean logRollback) throws SQLException(Code)(Java Doc)
public void rollback(long transactionId, String savepointName) throws SQLException(Code)(Java Doc)
public void scheduleExecWriteRequest(AbstractWriteRequest request) throws SQLException(Code)(Java Doc)
public void setControllerId(long id)(Code)(Java Doc)
public int setSavepoint(long transactionId) throws SQLException(Code)(Java Doc)
public void setSavepoint(long transactionId, String name) throws SQLException(Code)(Java Doc)
public void setScheduler(AbstractScheduler scheduler)(Code)(Java Doc)
public ExecuteResult statementExecute(AbstractRequest request) throws SQLException(Code)(Java Doc)
public ControllerResultSet statementExecuteQuery(SelectRequest request) throws SQLException(Code)(Java Doc)
public ExecuteUpdateResult statementExecuteUpdate(AbstractWriteRequest request) throws SQLException(Code)(Java Doc)
public GeneratedKeysResult statementExecuteUpdateWithKeys(AbstractWriteRequest request) throws SQLException(Code)(Java Doc)
public boolean storeRequestResult(AbstractRequest request, Serializable result)(Code)(Java Doc)
public void suspendActivity() throws SQLException(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.