2 Replies Latest reply on Aug 6, 2009 6:23 AM by niuxuetao_fiserv

    What does pojoCache.findAll() actually do?

    niuxuetao_fiserv

      Hello,

      I need to traverse the pojo cache and have questions about the pojoCache.findAll() method.

      1. The javadoc says it is not thread-safe, but what does it mean? Does it mean it returns a map that is not accessible by multiple threads? Or the method can't simply be called concurrently from different threads?

      2. Does the method load all evicted objects back into memory? Or it just returns a Map of fqns on accessing which the corresponding object is lazily loaded into memory (if ever evicted into disk)?

      Thanks!
      Xuetao