[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Wed Aug 9 08:30:12 EDT 2006
User: msurtani
Date: 06/08/09 08:30:12
Modified: src/org/jboss/cache/interceptors Tag:
Branch_JBossCache_1_4_0 EvictionInterceptor.java
OptimisticNodeInterceptor.java
Log:
JBCACHE-730
Revision Changes Path
No revision
No revision
1.3.2.1 +2 -1 JBossCache/src/org/jboss/cache/interceptors/EvictionInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: EvictionInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/EvictionInterceptor.java,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -b -r1.3 -r1.3.2.1
--- EvictionInterceptor.java 16 May 2006 22:42:26 -0000 1.3
+++ EvictionInterceptor.java 9 Aug 2006 12:30:12 -0000 1.3.2.1
@@ -26,7 +26,7 @@
* This interceptor is used to handle eviction events.
*
* @author Daniel Huang
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.3.2.1 $
*/
public class EvictionInterceptor extends Interceptor
{
@@ -111,6 +111,7 @@
if (event == null)
{
// no node modifications.
+ if (log.isTraceEnabled()) log.trace("No node modifications");
return;
}
1.21.2.1 +4 -0 JBossCache/src/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: OptimisticNodeInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/OptimisticNodeInterceptor.java,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -b -r1.21 -r1.21.2.1
--- OptimisticNodeInterceptor.java 12 Jun 2006 20:24:31 -0000 1.21
+++ OptimisticNodeInterceptor.java 9 Aug 2006 12:30:12 -0000 1.21.2.1
@@ -120,6 +120,10 @@
case MethodDeclarations.getNodeMethodLocal_id:
result = getNode(args, workspace);
break;
+ case MethodDeclarations.evictNodeMethodLocal_id:
+ case MethodDeclarations.evictVersionedNodeMethodLocal_id:
+ result = super.invoke(m);
+ break;
default:
if (log.isInfoEnabled()) log.info("read Method " + m + " called - don't know how to handle, passing on!");
result = super.invoke(m);
More information about the jboss-cvs-commits
mailing list