[jboss-cvs] JBossCache/src/org/jboss/cache/aop/eviction ...
Brian Stansberry
brian.stansberry at jboss.com
Wed Oct 11 23:40:00 EDT 2006
User: bstansberry
Date: 06/10/11 23:40:00
Modified: src/org/jboss/cache/aop/eviction AopLRUPolicy.java
Log:
[JBCACHE-801] Restore EvictionPolicy ability to ignore events based on event type
Revision Changes Path
1.4 +2 -1 JBossCache/src/org/jboss/cache/aop/eviction/AopLRUPolicy.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AopLRUPolicy.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/aop/eviction/AopLRUPolicy.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- AopLRUPolicy.java 24 Apr 2006 03:28:19 -0000 1.3
+++ AopLRUPolicy.java 12 Oct 2006 03:39:59 -0000 1.4
@@ -13,6 +13,7 @@
//import org.jboss.cache.aop.eviction.AopLRUAlgorithm;
import org.jboss.cache.eviction.LRUPolicy;
import org.jboss.cache.eviction.EvictionAlgorithm;
+import org.jboss.cache.eviction.NodeEventType;
import org.jboss.cache.Fqn;
import org.jboss.cache.aop.InternalDelegate;
@@ -43,7 +44,7 @@
* Override to provide PojoCache specific behavior.
* @param fqn
*/
- public boolean canIgnoreEvent(Fqn fqn) {
+ public boolean canIgnoreEvent(Fqn fqn, NodeEventType eventType) {
return false;
}
}
More information about the jboss-cvs-commits
mailing list