It seems that a read through does not set off an expiry policy.

eg.
cache = cache.withExpiryPolicy(new TouchedExpiryPolicy(new
Duration(TimeUnit.SECONDS, 1)))

cache.get(x) // triggers read through but this doesn't expire
cache.get(x) // do "get" again. this will trigger expiry

Can someone tell me if this is intended or not?

Thanks




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Cache-read-through-with-expiry-policy-tp2521.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to