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

2013-05-02 Thread Galder Zamarreño
Hi, Re: https://issues.jboss.org/browse/ISPN-694 We've got a little problem here. Paul requires that entries that might have been expired while in the cache store, when loaded, we send expiration notifications for them. The problem is that expiration checking is currently done in the actual ca

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

2013-05-02 Thread Mircea Markus
On 2 May 2013, at 16:03, Galder Zamarreño wrote: > Hi, > > Re: https://issues.jboss.org/browse/ISPN-694 > > We've got a little problem here. Paul requires that entries that might have > been expired while in the cache store, when loaded, we send expiration > notifications for them. > > The p

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

2013-05-03 Thread Paul Ferraro
Is it essential? No - but it would simplify things on my end. If Infinispan can't implement expiration notifications, then I am forced to use immortal cache entries and perform expiration myself. To do this, I have to store meta information about the cache entry along with my actual cache values,

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

2013-05-06 Thread Mircea Markus
On 3 May 2013, at 20:15, Paul Ferraro wrote: > Is it essential? No - but it would simplify things on my end. > If Infinispan can't implement expiration notifications, then I am forced > to use immortal cache entries and perform expiration myself. To do > this, I have to store meta information a

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

2013-05-21 Thread Galder Zamarreño
On May 6, 2013, at 2:20 PM, Mircea Markus wrote: > > On 3 May 2013, at 20:15, Paul Ferraro wrote: > >> Is it essential? No - but it would simplify things on my end. >> If Infinispan can't implement expiration notifications, then I am forced >> to use immortal cache entries and perform expirat

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

2013-05-21 Thread Dan Berindei
On Tue, May 21, 2013 at 6:07 PM, Galder Zamarreño wrote: > > On May 6, 2013, at 2:20 PM, Mircea Markus wrote: > > > > > On 3 May 2013, at 20:15, Paul Ferraro wrote: > > > >> Is it essential? No - but it would simplify things on my end. > >> If Infinispan can't implement expiration notifications

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

2013-05-21 Thread Paul Ferraro
On Tue, 2013-05-21 at 17:07 +0200, Galder Zamarreño wrote: > On May 6, 2013, at 2:20 PM, Mircea Markus wrote: > > > > > On 3 May 2013, at 20:15, Paul Ferraro wrote: > > > >> Is it essential? No - but it would simplify things on my end. > >> If Infinispan can't implement expiration notification

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

2013-05-21 Thread Mircea Markus
Sent from my iPhone On 21 May 2013, at 16:07, Galder Zamarreño wrote: > > On May 6, 2013, at 2:20 PM, Mircea Markus wrote: > >> >> On 3 May 2013, at 20:15, Paul Ferraro wrote: >> >>> Is it essential? No - but it would simplify things on my end. >>> If Infinispan can't implement expiratio

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

2013-05-22 Thread Galder Zamarreño
On May 21, 2013, at 5:11 PM, Dan Berindei wrote: > > > > On Tue, May 21, 2013 at 6:07 PM, Galder Zamarreño wrote: > > On May 6, 2013, at 2:20 PM, Mircea Markus wrote: > > > > > On 3 May 2013, at 20:15, Paul Ferraro wrote: > > > >> Is it essential? No - but it would simplify things on my

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

2013-05-22 Thread Galder Zamarreño
On May 21, 2013, at 7:42 PM, Paul Ferraro wrote: > On Tue, 2013-05-21 at 17:07 +0200, Galder Zamarreño wrote: >> On May 6, 2013, at 2:20 PM, Mircea Markus wrote: >> >>> >>> On 3 May 2013, at 20:15, Paul Ferraro wrote: >>> Is it essential? No - but it would simplify things on my end. >>

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

2013-05-22 Thread Galder Zamarreño
On May 21, 2013, at 8:32 PM, Mircea Markus wrote: > > > Sent from my iPhone > > On 21 May 2013, at 16:07, Galder Zamarreño wrote: > >> >> On May 6, 2013, at 2:20 PM, Mircea Markus wrote: >> >>> >>> On 3 May 2013, at 20:15, Paul Ferraro wrote: >>> Is it essential? No - but it woul

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

2013-05-23 Thread Paul Ferraro
On Wed, 2013-05-22 at 18:03 +0200, Galder Zamarreño wrote: > On May 21, 2013, at 7:42 PM, Paul Ferraro wrote: > > > On Tue, 2013-05-21 at 17:07 +0200, Galder Zamarreño wrote: > >> On May 6, 2013, at 2:20 PM, Mircea Markus wrote: > >> > >>> > >>> On 3 May 2013, at 20:15, Paul Ferraro wrote: > >

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

2013-05-27 Thread Galder Zamarreño
On May 23, 2013, at 8:28 PM, Paul Ferraro wrote: > On Wed, 2013-05-22 at 18:03 +0200, Galder Zamarreño wrote: >> On May 21, 2013, at 7:42 PM, Paul Ferraro wrote: >> >>> On Tue, 2013-05-21 at 17:07 +0200, Galder Zamarreño wrote: On May 6, 2013, at 2:20 PM, Mircea Markus wrote: >

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

2013-05-28 Thread Sanne Grinovero
This notification feature seems to be very confusing, or at least I find it awkward to understand all special conditions. 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

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

2013-05-28 Thread Mircea Markus
On 28 May 2013, at 12:52, Sanne Grinovero 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 perf

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

2013-05-28 Thread Sanne Grinovero
On 28 May 2013 13:02, Mircea Markus wrote: > > On 28 May 2013, at 12:52, Sanne Grinovero 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.purg

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

2013-05-29 Thread Galder Zamarreño
On May 28, 2013, at 1:52 PM, Sanne Grinovero wrote: > This notification feature seems to be very confusing, or at least I > find it awkward to understand all special conditions. ^ I agree, it's confusing and akward but you're mistaken in thinking that it's a problem of the notification feature