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 中删除所有结果吗?是执行查询并遍历结果的唯一方法吗?
我的键是一个字符串,我想删除以给定字符串开头的所有元素。
我在文档中发现了一个删除示例:
CacheManager singletonManager = CacheManager.create(); singletonManager.removeCache("sampleCache1");
它不是删除所有 sampleCache1 吗?请试一试!