In your eviction configuration, you can set the "EvictionPolicyClass" and define
what the method does:
| public abstract class BaseEvictionPolicy implements EvictionPolicy {
|
| /**
| * Evict the node under given Fqn from cache.
| *
| * @param fqn The fqn of a node in cache.
| * @throws Exception
| */
| public void evict(Fqn fqn) throws Exception
| {
| cache_.evict(fqn, false);
| }
|
You could override this method to "remove" the data instead. Maybe there should
be a flag as you suggest? If you can create a good patch and test case, generate a JIRA
issue and attach the patch.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167452#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...