users@glassfish.java.net

Re: caching in TopLink

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Aug 2008 08:22:44 PDT

Hello,

There are two references involved, one for the identitymap and the other for the cache. What you are probably looking at is for the identitymap. The caches used in SoftWeak and HardWeak are LRU - check out the updateAccess method of the ReferenceCacheKey class used within HardCacheWeakIdentityMap.

Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]

http://forums.java.net/jive/thread.jspa?messageID=293064