java - 当我想要简单的持久性时,是否需要从 2.6 降级到 EhCache 2.5?

标签 java caching ehcache

我已经有了 EhCache 2.6。现在我想启用持久性(例如,重新启动后重用缓存)。但我注意到我不能使用 2.6 - 请参阅 here

因此,我需要使用 terracotta 进行“分布式”持久性(这不是一个选项,因为我们希望保持简单)或使用企业版本。我真的需要降级到 2.5 才能使用简单持久性吗?

最佳答案

您的问题有点令人困惑,但链接非常清楚,旧的行为仍然可用。

After upgrading, however, it is not mandatory to add the sub-element. In Ehcache 2.6, disk persistence configuration elements from previous Ehcache versions will continue to be available with the same functionality, as long as the sub-element has not been specified.

关于java - 当我想要简单的持久性时,是否需要从 2.6 降级到 EhCache 2.5?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14735521/

相关文章:

java - 使用 Java/Selenium 从网站下载视频?

spring-boot - Redis无法反序列化对象

java - Spark : keyBy() vs mapToPair()

java - 将 JHipster/MongoDB 应用程序部署到 Heroku

python - flask 缓存 : list keys based on a pattern?

html - 浏览器不断呈现其缓存版本。我想总是强制 GET

ehcache - 使用分布式缓存解决方案的开源应用程序

java - 使用 TCP 的 Ehcache Jgroups 复制在具有 2 节点集群的 AWS 云中不起作用

java - 将缓存的 Map<String , List> 对象复制到临时 Map<String , List> 对象中

java - Android中静态变量的生命周期