标签: java spring caching ehcache
谈论它的类似线程 - https://sourceforge.net/p/ehcache/discussion/322278/thread/cfe24a99/这个问题在2009年被添加,我对如何将解决方案与基于注释的ehcache实现集成在一起毫无头绪。
答案 0 :(得分:0)
不,默认情况下,你不能在Ehcache中执行此操作,无论是2.x还是3.x。
您必须装饰缓存(Ehcache 2.x)或包装您的值(Ehcache 3.x)并准确设计您想要的内容。