[exo-jcr-commits] exo-jcr SVN: r1295 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jan 5 09:42:12 EST 2010
Author: areshetnyak
Date: 2010-01-05 09:42:11 -0500 (Tue, 05 Jan 2010)
New Revision: 1295
Modified:
jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ExoEvictionActionPolicy.java
Log:
EXOJCR-333 : The ExoEvictionActionPolicy was changed.
Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ExoEvictionActionPolicy.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ExoEvictionActionPolicy.java 2010-01-05 14:01:39 UTC (rev 1294)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/jbosscache/ExoEvictionActionPolicy.java 2010-01-05 14:42:11 UTC (rev 1295)
@@ -42,14 +42,18 @@
public boolean evict(Fqn fqn)
{
- if (fqn.size() == 3 && JBossCacheWorkspaceStorageCache.CHILD_NODES_LIST.equals(fqn.get(0)))
+ if (fqn.size() != 3)
{
- return eviction(fqn.getParent());
+ return eviction(fqn);
}
else if (fqn.size() == 3 && JBossCacheWorkspaceStorageCache.CHILD_NODES_LIST.equals(fqn.get(0)))
{
return eviction(fqn.getParent());
}
+ else if (fqn.size() == 3 && JBossCacheWorkspaceStorageCache.CHILD_PROPS_LIST.equals(fqn.get(0)))
+ {
+ return eviction(fqn.getParent());
+ }
else
{
return eviction(fqn);
More information about the exo-jcr-commits
mailing list