[jboss-user] [JBoss Cache] New message: "Re: How to manage empty data with a CacheLoader?"

Manik Surtani do-not-reply at jboss.com
Wed Feb 10 10:34:05 EST 2010


User development,

A new message was posted in the thread "How to manage empty data with a CacheLoader?":

http://community.jboss.org/message/525467#525467

Author  : Manik Surtani
Profile : http://community.jboss.org/people/manik.surtani@jboss.com

Message:
--------------------------------------------------------------
What you have here makes no sense.  CacheLoader.exists() and get() will +never+ be called if the node is in memory already.  Have a look at the CacheLoaderInterceptor for details.
 
Like I said, what makes more sense is, *+if+ you never use eviction and can guarantee that what is in memory will never be out if sync with what is in the cache loader, then subclass the CLI and override the methods that load stuff from the cache loader.*

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/525467#525467




More information about the jboss-user mailing list