ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: expired policy didn't work
Date Tue, 25 Oct 2016 18:32:23 GMT
Hi,

withExpiryPolicy() method returns another instance of IgniteCache which you
should use to make sure the policy takes effect:

cache.withExpiryPolicy(...).put(...);

Another option is to configure policy on cache startup via
CacheConfiguration.setExpiryPolicyFactory(...).

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/expired-policy-didn-t-work-tp8419p8483.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message