From the document, I saw:
Ehcache 3 only offers persistence in the case of clean shutdowns (close() was called). If the JVM crashes there is no data integrity guarantee. At restart, Ehcache will detect that the CacheManager wasn’t cleanly closed and will wipe the disk storage before using it.
Does it mean there's no way I can eagerly flush entries (or some entries I know updated for sure) to disk?
Also, I'd like to know where the close() hooked? Will it be triggered if I manually kill the jvm?
Thanks
Leon