disk « ehcache « Java Enterprise Q&A





1. Ehcache disk store unclean shutdown    stackoverflow.com

I'm using a cache with disk store persistence. On subsequent reruns of the app I'm getting the following error:

net.sf.ehcache.store.DiskStore deleteIndexIfCorrupt
WARNING: The index for data file MyCache.data is out of date,
probably due ...

2. Java ehcache disk store    stackoverflow.com

I'm working on application in which I need to generate and frequently access thousands of files. For disk space usage reasons, I only want to keep around a fixed number of ...

3. Expiring EhCache Elements on Disk    stackoverflow.com

Is there a way to configure Ehcache to remove entries from the disk store based on the age of the entry? I know that I can configure Ehcache to expire elements ...

4. Problem in Disk cache    forums.terracotta.org

We have setup the ehcache with following config -----------------Config file------------------------- -----------------------In Code ---------------------------------------------------- CacheManager cacheManager = CacheManager.getInstance(); Cache cache = cacheManager.getCache("acl"); for(int i=0; i <10000;i++){ Element cacheElement= new Element("key"+i, obj); ...

5. Remove diskPersistent or resolve the conflicting disk paths in cache configuration    forums.terracotta.org

Hi, i wanna to persist data between vm restart My config: And my error message: "Data in persistent disk stores is ignored for stores from automatically created directories (they start with ehcache_auto_created). Remove diskPersistent or resolve the conflicting disk paths in cache configuration." help 2 understand, whats wrong? ...