Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.8
-
None
-
Patch available
Description
When using EHDefaultStore in overflow-to-disk=false mode, shutting the jvm down results in a spoolToDisk error. This is because diskPersistent is not Parameterizable and always TRUE. However, when overflow-to-disk is false (caching in memory only), when shutting the JVM down, ehcache is trying to flush the cache to disk because diskPersistent is true.
Added diskPersistent parameter, which is FALSE when overflow-to-disk is false, and default TRUE when overflow-to-disk is TRUE.
Added diskPersistent parameter, which is FALSE when overflow-to-disk is false, and default TRUE when overflow-to-disk is TRUE.