I am using JbossCache 2.1.0. We have a need to remove data from the cache and/or the
persistent store after a certain number days because of legal reasons, I saw that there
are ways to write custom Eviction policy by doing the following
"In order to implement an eviction policy, the following interfaces must be
implemented:
org.jboss.cache.eviction.EvictionPolicy
org.jboss.cache.eviction.EvictionAlgorithm
org.jboss.cache.eviction.EvictionQueue
org.jboss.cache.config.EvictionPolicyConfig
...."
I was planning to write a CustomLRUPolicy and override the evict method to somehow call
remove instead but I dont have access to any remove method.Any idea how I can implement
this ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165773#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...