[jboss-user] [JBossCache] - Re: How to, Flush data stored in TreeCache to disk?

manik.surtani@jboss.com do-not-reply at jboss.com
Mon Nov 20 10:15:08 EST 2006


The code you have above, the getSingleCacheLoaderConfig() method generates a block of XML corresponding to a cache loader config (see the chapter on cache loaders in the docs).  

Make sure you generate XML that sets __async__ to false.  If async is true, flushes will not happen in realtime and will be deferred to a queue and processed by a separate thread.  Perhaps you could check the XML that getSingleCacheLoaderConfig() generates?



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

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



More information about the jboss-user mailing list