Good point.
In the cache loader/store interceptors, I no longer sync on the cache loader but on an
object attributed to the fqn in question (improves concurrency in the loader/store
interceptors) (see BaseCacheLoaderInterceptor)
But this means that locking on the cache loader during ST will not prevent the
interceptors from writing to the loader. What you'd need to do is to get a loader
lock on a per-fqn basis using the lock map in the BaseCacheLoaderInterceptor. This lock
map will probably have to be refactored out of this Interceptor for this though, perhaps
into the CacheLoaderManager.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971540#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...