[jboss-svn-commits] JBL Code SVN: r10225 - labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Mar 15 08:58:26 EDT 2007
Author: mark.little at jboss.com
Date: 2007-03-15 08:58:26 -0400 (Thu, 15 Mar 2007)
New Revision: 10225
Modified:
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/AtomicAction.java
Log:
http://jira.jboss.com/jira/browse/JBTM-205
Modified: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/AtomicAction.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/AtomicAction.java 2007-03-15 12:55:53 UTC (rev 10224)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/AtomicAction.java 2007-03-15 12:58:26 UTC (rev 10225)
@@ -211,6 +211,34 @@
return status;
}
+ public int end (boolean report_heuristics)
+ {
+ int outcome = super.end(report_heuristics);
+
+ /*
+ * Now remove this thread from the reaper. Leave
+ * the thread-to-tx association though.
+ */
+
+ TransactionReaper.create().remove(this);
+
+ return outcome;
+ }
+
+ public int cancel ()
+ {
+ int outcome = super.cancel();
+
+ /*
+ * Now remove this thread from the reaper. Leave
+ * the thread-to-tx association though.
+ */
+
+ TransactionReaper.create().remove(this);
+
+ return outcome;
+ }
+
/*
* @return the timeout associated with this instance.
*/
More information about the jboss-svn-commits
mailing list