[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Sun Nov 26 06:52:06 EST 2006
User: msurtani
Date: 06/11/26 06:52:06
Modified: src/org/jboss/cache/interceptors Tag:
Branch_JBossCache_1_3_0
PessimisticLockInterceptor.java
Log:
More fixes
Revision Changes Path
No revision
No revision
1.14.2.3 +2 -1 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.2
retrieving revision 1.14.2.3
diff -u -b -r1.14.2.2 -r1.14.2.3
--- PessimisticLockInterceptor.java 24 Nov 2006 14:19:30 -0000 1.14.2.2
+++ PessimisticLockInterceptor.java 26 Nov 2006 11:52:06 -0000 1.14.2.3
@@ -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.2 2006/11/24 14:19:30 msurtani Exp $
+ * @version $Id: PessimisticLockInterceptor.java,v 1.14.2.3 2006/11/26 11:52:06 msurtani Exp $
*/
public class PessimisticLockInterceptor extends Interceptor {
TransactionTable tx_table=null;
@@ -234,6 +234,7 @@
else
{
// JBCACHE-875 - this is a create operation. So make sure we have a WL on the PARENT.
+ if (log.isTraceEnabled()) log.trace("Trying to get a hold of WL on Node " + n.getFqn());
acquireNodeLock(n, owner, gtx, DataNode.LOCK_TYPE_WRITE, lock_timeout);
}
}
More information about the jboss-cvs-commits
mailing list