You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by vkulichenko <va...@gmail.com> on 2017/02/10 22:32:29 UTC

Re: loadCache with ExpiryPolicy

Hi,

When done right, expiry policy provided in CacheConfiguration must be
applied to entries loaded from store. However there was an issue that was
fixed recently (not released yet):
https://issues.apache.org/jira/browse/IGNITE-3699

As for NPE, not sure why this happens. What is null there?

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/loadCache-with-ExpiryPolicy-tp10544p10557.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: loadCache with ExpiryPolicy

Posted by vkulichenko <va...@gmail.com>.
Shawn,

I don't think this will be possible in loadCache(). Can you switch to
loading with IgniteDataStreamer? In this case you will be able to create
your own receiver that will save entries with correct expiration.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/loadCache-with-ExpiryPolicy-tp10544p10617.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.