[jboss-user] [JBoss Cache: Core Edition] - removing data from cache and/or persistent store
cacheuser
do-not-reply at jboss.com
Mon Jul 21 20:36:20 EDT 2008
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#4165773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165773
More information about the jboss-user
mailing list