Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我相信 ehcache 只复制更改的数据(增量)?
我的问题是它如何计算增量?假设我有一个具有 5 个属性的 java 对象,其中只有一个被更改。该对象的类只实现了可序列化。
如果您询问 Ehcache 和 Hibernate 集成,则不会发送任何增量。发生的情况是 Ehcache 发送了一个包含对象缓存键的失效事件。
然后在远程节点上,该条目被刷新并在下一次请求时再次从数据库中重新加载。