[infinispan-dev] no eviction on indexing

Ales Justin ales.justin at gmail.com
Thu Nov 22 06:53:12 EST 2012


I was changing cache config a bit, and got this:
* https://gist.github.com/4130728

   private static void verifyCacheHasNoEviction(AdvancedCache<?, ?> cache) {
      if (cache.getConfiguration().getEvictionStrategy().isEnabled())
         throw new IllegalArgumentException("DistributedSegmentReadLocker is not reliable when using a cache with eviction enabled, disable eviction on this cache instance");
   }


How do you then handle memory overflow on no-eviction caches?


-Ales

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20121122/dd34fa66/attachment.html 


More information about the infinispan-dev mailing list