0 Replies Latest reply: Sep 6, 2013 5:50 PM by user7436361 RSS

    LocalCache - <pre-load> config set to true



      I have set the <pre-load> to true for local cache configuration. My CacheStore implements 'IterableCacheLoader'.  When I make a call to, ---

      (call 1) . NamedCache cache = CacheFactory.getCache("cacheName");


      'loadAll()' of CacheStore is invoked. 'loadAll()' returns Map which has required key-value pairs.How do I put this returned Map into NamedCache? The reason I am asking this is call1 is  made in different package from CacheStore.


      Does not loadAll() implicitly update the NamedCache?


      The requirement is to preload the data and this standalone local cache.