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

William Burns (JIRA) jira-events at lists.jboss.org
Thu May 31 12:52:17 EDT 2012


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

William Burns updated ISPN-2080:
--------------------------------

    Git Pull Request: https://github.com/infinispan/infinispan/pull/1156  (was: https://github.com/infinispan/infinispan/pull/1156)
         Description: 
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.

  was:
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 attached a test case that tests this and changes that allow for the cache listeners to be notified.


    
> 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: Manik Surtani
>
> 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