How to Remove a Entry in cache but do not trigger the erase in cachestore
915035Mar 1 2012 — edited Mar 4 2012hi guys,
I meet a really special requirement, like the topic, I have a distribute-cache, when put a object in cache, will tigger save method in cachestore to store it to DB, when remve a entry, will tigger the erase method to delete it from DB, and then I need another operation--which can just remove the entry on cache and won't delete from DB? I checked eviction method, but I think it's for local cache. how could I use it on near-cache or distribute cache.
anyone could help me?
Thanks a lot.
best,
DFJ
Edited by: 912032 on Mar 2, 2012 12:37 AM