This content has been marked as final.
Show 1 reply
-
1. Re: [jboss eap 5.1.2] node's invalidation cache cleared by each other
bondchan921 Jul 11, 2013 6:04 AM (in response to bondchan921)Are we using the jboss invalidation cluster cache correctly ?
-We using like this:
int id = 500;
Object value = cache.get("xx/yy/zz/500", "key");
if(value == null){
Object value = service.findById(500);
cache.put("xx/yy/zz/500", "key", value);
}
--this issue now:
when one server call "cache.put("xx/yy", key, value)", this node on other server were invalidated, so for every node, only the one server having data.
--what we want
when one server call "cache.put("xx/yy", key, value)" for node xx/yy at the 1st time, this node on other server were not invalidated, so 1st time call is like load data for this node, no effect to other servers, after calls are updating this node, then other servers should invalidated
can we achieve this ?