[infinispan-issues] [JBoss JIRA] (ISPN-2080) Cache Listener is not notified on cache replace

Dan Berindei (JIRA) jira-events at lists.jboss.org
Wed Jun 6 07:18:18 EDT 2012


     [ https://issues.jboss.org/browse/ISPN-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei resolved ISPN-2080.
--------------------------------

      Assignee: Dan Berindei  (was: Manik Surtani)
    Resolution: Done


I did integrate the pull request, but I was expecting github to close it automatically.

Agree about it not being critical for 5.1.x, but I didn't think about it before, so I cherry-picked the commit in 5.1.x as well.
                
> Cache Listener is not notified on cache replace
> -----------------------------------------------
>
>                 Key: ISPN-2080
>                 URL: https://issues.jboss.org/browse/ISPN-2080
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Listeners
>    Affects Versions: 5.1.5.FINAL
>            Reporter: William Burns
>            Assignee: Dan Berindei
>             Fix For: 5.2.0.ALPHA1, 5.2.0.FINAL
>
>
> Previously I have been using put with cache listeners to get remote updates.  This works fine, however I changed over to using the concurrent map replace method due to my new value being a composite value and I wanted to make sure to work with asynchronous updates across jvm in a loop.  The changes work fine however I am no longer getting CacheModification listener events.
> I have provided a test case (git hub pull request) that tests this and changes that allow for the cache listeners to be notified.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list