[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Wed Nov 29 12:51:35 EST 2006
User: msurtani
Date: 06/11/29 12:51:35
Modified: src/org/jboss/cache/interceptors Tag:
Branch_JBossCache_1_3_0
PessimisticLockInterceptor.java
Log:
added real remove for non-tx calls
Revision Changes Path
No revision
No revision
1.14.2.6 +4 -2 JBossCache/src/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PessimisticLockInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/PessimisticLockInterceptor.java,v
retrieving revision 1.14.2.5
retrieving revision 1.14.2.6
diff -u -b -r1.14.2.5 -r1.14.2.6
--- PessimisticLockInterceptor.java 29 Nov 2006 03:20:53 -0000 1.14.2.5
+++ PessimisticLockInterceptor.java 29 Nov 2006 17:51:35 -0000 1.14.2.6
@@ -34,7 +34,7 @@
* scope of the TX. When no TX is present, we keep track of the locks acquired during the current method and unlock
* when the method returns
* @author Bela Ban
- * @version $Id: PessimisticLockInterceptor.java,v 1.14.2.5 2006/11/29 03:20:53 msurtani Exp $
+ * @version $Id: PessimisticLockInterceptor.java,v 1.14.2.6 2006/11/29 17:51:35 msurtani Exp $
*/
public class PessimisticLockInterceptor extends Interceptor {
TransactionTable tx_table=null;
@@ -164,7 +164,9 @@
if (storeLockedNode && ctx.getGlobalTransaction() == null)
{
//cache.getRemovedNodesMap().remove(fqn);
- cache.peek(fqn);
+ //cache.peek(fqn);
+ // do a REAL remove here.
+ cache.realRemove(fqn, false);
}
return retval;
More information about the jboss-cvs-commits
mailing list