Use an AsyncCacheLoader as facade, as described in the documentation (jboss.com/products/jbosscache)
Thank you Bela--I missed that. I assume it will still write each update separately rather than merging them, correct?
(If so, I may write a version that delays and merges updates cases like mine where updates to different keys are idempotent. I've never looked at the JBossCache, so hopefully it won't be too hard, though I probably won't get around to it for a month or so. If so, I'll contribute it back...)
Yes, it will write each update separately. This can be mitigated, however, by enabling update queueing in the TreeCache itself.
ahem, now, this is not true. Sorry, it would still write individual updates to disk