[jboss-user] [JBossCache] - Re: FileCacheLoader not evicting?

arjan do-not-reply at jboss.com
Thu Dec 6 09:47:08 EST 2007


Okay, thanks. I think I can do that. 

I think the definition of eviction vs expiration got me then.

I already have some cache.remove() stuff in place to invalidate cache entries when the underlaying data objects are changed.
I only have to add more of that :)).

The tricky point is that when data is evicted from the cache and no cache loader is present, the data is lost. While with cache loader the data is persisted and is *not* lost at all. 

I can't make that up from the documentation, though. The docs are stating that when an element is not in the in-memory cache it's fetched from the cache loader. If nodes are modified they're persisted to the backend store (see chapter 7, JBossCache 1.4.1).


Regards,

Arjan


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110859#4110859

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110859



More information about the jboss-user mailing list