This is the situation:
Two JVMs, each is running an instance of TreeCacheAop. Same cluster.
Replication (have tried both synchronous and asynchronous).
When I call getObject("/foo") on both servers at roughly the same time, and
"/foo" does not exist in the cache, then both servers end up asking the
CacheLoader for data. They both call:
CacheLoader.get(Fqn name)
The problem is that the data can be very hard to produce and I would like the
CacheLoader to be invoked only on one server and have the other call to
getObject block until the data is loaded and replicated.
Am I missing something. I had really expected this to be the default behaviour.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860610#3860610
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860610
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development