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.

Reply via email to