[infinispan-dev] !event.isPre  correctness
    Manik Surtani 
    manik at jboss.org
       
    Fri Sep 21 08:12:55 EDT 2012
    
    
  
Yes, the notification should happen after any modifications are made.
On 21 Sep 2012, at 09:58, Mircea Markus <mircea.markus at jboss.com> wrote:
> Hi,
> 
> When the listener is notified with (event.isPre == false), the change that triggered the event is not visible to the user[1] as the notification happens before exiting the EntryWrappingInterceptor.
> I think this is not right, as a user I'd expect that the post notification to happen after data was applied to the cache, wdyt?
> 
> 
> [1] this was raised on the forums: https://community.jboss.org/thread/205515
> 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
--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani
Platform Architect, JBoss Data Grid
http://red.ht/data-grid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20120921/6475312d/attachment.html 
    
    
More information about the infinispan-dev
mailing list