[jboss-user] [JBoss Cache: Core Edition] - Re: Refresh cache from cache loader on demand?

drcallaway do-not-reply at jboss.com
Fri Jun 19 12:02:39 EDT 2009


"galder.zamarreno at jboss.com" wrote : 
  | What do you exactly mean with data changing? Is data changing as a result of your interaction with the cache? Are you changing the data directly in the cache store? I don't understand why you'd want the data to be replaced with the one in the cache store.

I mean that the data is changed by another cache client. For example, say I store pricing information in my cache that changes once a month. I can refresh the cache from a single client by replacing the existing "pricing" node with new information and this will push the new information into the backing database. However, all of the other clients that share this database aren't aware that the data has changed. I'd like to be able to force a refresh periodically so that these other clients dump their current information and reload from the data store.

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

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



More information about the jboss-user mailing list