[infinispan-dev] Supporting notifications for entries expired while in the cache store - ISPN-694

Sanne Grinovero sanne at infinispan.org
Tue May 28 08:22:52 EDT 2013


On 28 May 2013 13:02, Mircea Markus <mmarkus at redhat.com> wrote:
>
> On 28 May 2013, at 12:52, Sanne Grinovero <sanne at infinispan.org> wrote:
>
>> This notification feature seems to be very confusing, or at least I
>> find it awkward to understand all special conditions.
>
> - we expire things at two levels: memory and store (CacheStore.purgeExpired)
> - we cannot tell the existing store to perform the notification callbacks so we'd only notify for the entries in memory

I understand so far, but that means it's unreliable, so I'm wondering
in which use case that is acceptable.

Sanne


>
>>
>> My doubt is, is it worth it?
>>
>> Is there a reasonable use case, which works fine with all these limitations?
>>
>> I'd rather drop support for such notifications rather than having to
>> deal with such non-deterministic behaviour.
>
> Cheers,
> --
> Mircea Markus
> Infinispan lead (www.infinispan.org)
>
>
>
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev


More information about the infinispan-dev mailing list