2 Replies Latest reply on Feb 8, 2012 4:43 AM by Horacio Vico

    Cacheloader "preload"

    Horacio Vico Newbie

      Hi, this is a simple question based on this scenario:

       

      I shutdown my Infinispan cluster, which has some eviction policy and a persistent cachestore. That means that the in-memory cache which is lost at shutdown is a subset of the persistent cachestore data.

       

      When I start the cluster again I want the data of the cachestore not to be fully preloaded (because I would have out of memory errors). I would like the cache to start loading the data "lazily" from the cachestore.

       

      Is this possible? What happens if I disable "preload" in my cacheloader config? The data in the persistent store would be ignored or would it be loaded lazily?


      Thanks