Hey,there is an issue in replicating "updated" changes in the following
scenario:
| Map proxyMap=(Map)cache.geObject("/aop/mymap");
| Set set=proxyMap.keySet();
| Iterator setIterator=set.iterator();
| while(setIterator.hasNext()){
| Object obj=setIterator.next();
| if(obj.someCondition()==true){
| iterator.remove();
| }
|
| }
|
So when the iterator.remove() is called , it will remove the object from the
set and the corresponding "key" and "value" from the HashMap.
But the PROBLEM is it does not REPLICATE this removal.Since the HashMap was
affected ultimately so replication should have happened, but it doesnt.
However if i explicity call a map.remove("key"), the removal is replicated to
the other nodes in the cluster.
Is there any workaround for this??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929324#3929324
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929324
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user