Hello all,
is there an elegant way to base the expiry of a cache element on properties of  
the element itself? 
My solution would be to schedule a (Scan)Query with an arbitrary predicate and 
gather the elements to be expired.
I would then remove those elements using cache.removeAll(Set keys). 
Is there a way to combine these two steps into one and even co-locate that step 
with the data?
Any other options?

Regards
Christian

--
InteRes GmbH         -   Dr. Christian Seiler
Rheinstrasse 44-46       64283 Darmstadt
fon: +49 6151 307 40 18  fax: -11
www.interes.com   christian.sei...@interes.com

Geschäftsführer:
Volker Herrmann

Registergericht: Amtsgericht Darmstadt
Registernummer: HRB 6831/Darmstadt
Steuernummer: DE 189 632 313 

ITB Berlin - Sie finden uns als Mitaussteller am DRV-Stand in Halle 10.1. 
Schauen Sie vorbei, wir freuen uns!

Reply via email to