Doc is correct. Each ExpiryPolicy contains 3 methods that define it's behaviour based on used operation: getExpiryForCreation() getExpiryForAccess() getExpiryForUpdate()
On Sun, Oct 20, 2019 at 3:20 AM 李玉珏@163 <[email protected]> wrote: > Hi, > > On the following page: > > https://apacheignite-net.readme.io/docs/expiry-policies > > It seems that the document is wrong? > 在 2019/10/19 下午9:24, Aleksandr Shapkin 写道: > > You can use withExpiryPolicy method to create different cache instances. > > Something like > ignite.cache(name).withExpiryPolicy(plc1) > ignite.cache(name).withExpiryPolicy(plc2) > > > On Sat, Oct 19, 2019, 15:51 李玉珏@163 <[email protected]> wrote: > >> Hi, >> >> How to use different ExpiryPolicy for different keys on the same cache? >> >> -- Best regards, Evgeniy
