ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevin <kevin.c...@leonardo.com>
Subject Cache read through with expiry policy
Date Tue, 12 Jan 2016 18:52:55 GMT
It seems that a read through does not set off an expiry policy.

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?


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.

View raw message