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/[email protected]

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


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to