I am using ehcache entreprise 2.7 with big memory. I want to have a cache that overflow to the disk when full AND I want this cache to be persistent through restarts.
My current configuration is that :
<cache name="dataservice"
eternal="true"
maxEntriesLocalHeap="1"
overflowToOffHeap="true"
maxBytesLocalOffHeap="60M">
<persistence strategy="localRestartable"/>
</cache>
This configuration makes the cache persistent through restarts ( and it works very well) but it doesn't seem to overflow to the disk. I really want to use "localRestartable" since it works way better than the old attribute diskPersistent="true". "localRestartable" isn't compatible with the attribute overflowToDisk="true"...
Any idea on how I can make my cache overflowing to the disk??