Bond Chan [
https://community.jboss.org/people/bondchan921] created the discussion
"Re: [jboss eap 5.1.2] node's invalidation cache cleared by each other"
To view the discussion, visit:
https://community.jboss.org/message/827511#827511
--------------------------------------------------------------
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/50", "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 ?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/827511#827511]
Start a new discussion in JBoss Cache Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]