Let me add some more detail, from the documentation, for those who do not want 
to rebuild the docs just to see what this is all about!!  :)


  | <attribute name="CacheLoaderAsynchronous">true</attribute>
  |  


CacheLoaderAsynchronous (configuration property) determines whether writes to 
the cache loader block until completed, or are run on a separate thread so 
writes return immediately. If this is set to true, an instance of 
org.jboss.cache.loader.AsyncCacheLoader is constructed with an instance of the 
actual cache loader to be used. The AsyncCacheLoader then delegates all 
requests to the underlying cache loader, using a separate thread for write 
operations. See the Javadocs on org.jboss.cache.loader.AsyncCacheLoader for 
more details. If unspecified, the CacheLoaderAsynchronous property defaults to 
false.


Note on using the CacheLoaderAsynchronous property: there is always the 
possibility of dirty reads since all writes are performed asynchronously, and 
it is thus impossible to guarantee when (and even if) a write succeeds. This 
needs to be kept in mind when setting the CacheLoaderAsynchronous property to 
true.


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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to