[jboss-dev-forums] [Design of JBossCache] - Re: Custom data versions

bstansberry@jboss.com do-not-reply at jboss.com
Mon Aug 4 12:54:16 EDT 2008


"manik.surtani at jboss.com" wrote : no, it won't be applied to side-effect nodes - perhaps one way to do this is to create the "side effect nodes" explicitly with the option?  :-(

That's the hack I have now. Try to track whether the region root nodes exist or not, and then before doing any writes, do a separate call to create the region root if necessary. It's ugly and fragile.

Possibly I could replace the "try to track whether the region root exists" bit and just do a PFER for the region root w/ cacheModeLocal=true before every write. Eliminates complexity in the integration code at the cost of a lot of unnecessary PFER calls.


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

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



More information about the jboss-dev-forums mailing list