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

Mircea Markus mmarkus at redhat.com
Tue May 28 08:02:56 EDT 2013


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

> 
> 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)







More information about the infinispan-dev mailing list