ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladislav Pyatkov <vldpyat...@gmail.com>
Subject Re: TouchedExpiryPolicy works incorrect in some cases IGNITE-4401
Date Mon, 10 Apr 2017 14:53:30 GMT
This is a javax cache API.
Look at the java doc about how to TouchedExpiryPolicy should be work[1].

[1]:
http://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/expiry/TouchedExpiryPolicy.html

On Mon, Apr 10, 2017 at 5:48 PM, ALEKSEY KUZNETSOV <alkuznetsov.sb@gmail.com
> wrote:

> Fine. So what is the point of this ticket? What is the correct behavior of
> the policy?
>
> пн, 10 апр. 2017 г. в 17:45, Vladislav Pyatkov <vldpyatkov@gmail.com>:
>
> > Aleksey,
> >
> > Yes, it's corect.
> > Pay attention, in the example was used TouchedExpiryPolicy with 20
> seconds
> > as parameter. This mean enteries will never expired in the example,
> because
> > its touching each 10 seconds.
> >
> > On Mon, Apr 10, 2017 at 5:23 PM, ALEKSEY KUZNETSOV <
> > alkuznetsov.sb@gmail.com
> > > wrote:
> >
> > > Hello igniters!
> > > Im fixing https://issues.apache.org/jira/browse/IGNITE-4401
> > > In configuration of cache with name defaultNameEDUPropCache  in
> > > initializeCache() there is ExpiryPolicyFactory with duration 20
> seconds.
> > > In main test method after sleeping 10 seconds the entity must not be
> > > expired. So my question is the following: Is the ticket correct ?
> Should
> > we
> > > close it?
> > > --
> > >
> > > *Best Regards,*
> > >
> > > *Kuznetsov Aleksey*
> > >
> >
> >
> >
> > --
> > Vladislav Pyatkov
> >
> --
>
> *Best Regards,*
>
> *Kuznetsov Aleksey*
>



-- 
Vladislav Pyatkov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message