i am using jboss cache to cache string objects with a key. these are basically xml string but stored as plain java strings. I have written a customLRUPolicy wherein at the end of day when maxage is reached (86400 seconds) the object is removed from cache rather than evict. otherwise no difference between wat i have patched on LRUPolicy. so insted of calling Cache.evict your CustomLRUPolicy calls Cache.remove, right? There are two possibilities of doing that, one would be [1]Cache.remove or [2]CacheImpl._remove For [1], the call goes through the interceptor chain including CacheStore interceptor, which would also remove the node from the persistent storage. This results in not having the data in memory both and disk... Can you please send the used cache configuration file. [2] is not recommended at all as it violates cache internals (e.g. transaction locks etc)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104188#4104188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104188 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
