geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction/manager TransactionLog.java
Date Sat, 12 Jun 2004 18:40:52 GMT
djencks     2004/06/12 11:40:52

  Modified:    modules/transaction/src/java/org/apache/geronimo/transaction/manager
                        TransactionLog.java
  Log:
  Add comment
  
  Revision  Changes    Path
  1.7       +11 -3     incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction/manager/TransactionLog.java
  
  Index: TransactionLog.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction/manager/TransactionLog.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TransactionLog.java	11 Jun 2004 19:20:55 -0000	1.6
  +++ TransactionLog.java	12 Jun 2004 18:40:52 -0000	1.7
  @@ -33,9 +33,9 @@
       void begin(Xid xid) throws LogException;
   
       /**
  -     * log prepare for the global xid xid and the list of TransactionBranch branches
  +     * log prepare for the global xid xid and the list of TransactionBranchInfo branches
        * @param xid global xid for the transactions
  -     * @param branches List of TransactionBranch
  +     * @param branches List of TransactionBranchInfo
        * @throws LogException
        */
       void prepare(Xid xid, List branches) throws LogException;
  @@ -44,6 +44,14 @@
   
       void rollback(Xid xid) throws LogException;
   
  +    /**
  +     * Recovers the log, returning a map of (top level) xid to List of TransactionBranchInfo
for the branches.
  +     * Uses the XidFactory to reconstruct the xids.
  +     *
  +     * @param xidFactory
  +     * @return Map of recovered xid to List of TransactionBranchInfo representing the branches.
  +     * @throws LogException
  +     */
       Map recover(XidFactory xidFactory) throws LogException;
   
       String getXMLStats();
  
  
  

Mime
View raw message