0

I am using Ehcache 3.10. I have a few questions regarding persisting the cache to disk:

  1. Can I configure Ehcache to "continually" persist the cache to disk? That way when application restarts, the cache can be hydrated from disk.
  2. Is there a config to control when (how often) Ehcache persists to disk? (I am assuming I have to use two tiers - Heap and Disk).

Example Java code to configure Ehcache for Question 1 and 2 would be greatly appreciated.

Thank you in advance, Ahmed.

Ahmed A
  • 3,362
  • 7
  • 39
  • 57

0 Answers0