[jboss-user] [JBossCache] - Re: Cache, missing entries
baranowb
do-not-reply at jboss.com
Thu Dec 21 08:26:24 EST 2006
Both tx run on the same cache isntance.
Here is more datailed call flow
1-2) each tx has its own localCacheCopy
Set keys=treeCache.getKeys(nodeName)
Iterator it=keys.iterator()
Map localCacheCopy=....;
while(it.hastNext()
{
Object key=it.next();
Object val=treeCache.getObject("OURCACHE",key)
localCacheCopy.put(key,val)l
}
//Store localCacheCopy in tx local data.
3-4)
getLocalCacheCopy().put("ALA","ALA");
getLocalCacheCopy().put("BEATA","BEATA"); - retrieves localCacheCopy for Tx[1]
5)
getLocalCacheCopy().remove("OLA"); - retrieves localCacheCopy for Tx[2]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995585#3995585
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995585
More information about the jboss-user
mailing list