【发布时间】:2014-08-10 01:59:23
【问题描述】:
我正在使用 infinispan 6.0.1 版本,我已将其配置为使用 SingleFileStore 作为加载器
配置如下
<namedCache name="MyCache">
<persistence passivation="true">
<singleFile fetchPersistentState="true"
ignoreModifications="false"
purgeOnStartup="false" maxEntries="5000">
</singleFile>
</persistence>
我的问题是,这个缓存会在 JVM 重启后继续存在吗? 我的意思是说我的缓存正在保存 {n} 个条目并且我的 jvm 出现故障。 当 JVM 再次启动时,我的缓存会用 {n} 个条目初始化吗?
提前致谢!!
【问题讨论】:
标签: java caching infinispan jboss-cache