我已经有了 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/