I am using infinispan 6.0.1 release, I have configured it to use SingleFileStore as loader
Configuration is as below
<namedCache name="MyCache">
<persistence passivation="true">
<singleFile fetchPersistentState="true"
ignoreModifications="false"
purgeOnStartup="false" maxEntries="5000">
</singleFile>
</persistence>
My question is, will this cache survive JVM restarts? I mean lets say my cache is holding {n} entries and my jvm goes down. When JVM starts again will my cache initialized with {n} entries?
Thanks in advance!!
With passivation, the entry is EITHER in memory (activated) OR in cache store (passivated). Therefore, no, it won't.