3 Replies Latest reply on Jul 11, 2011 6:11 AM by Pete Muir

    Configuration.setNumOwners(1) and notification listeners

    susanin Newbie



      I'm wondering if CacheEntryModified and other entry-related notifications are sent to listeners registered at non-owner nodes, in case where setNumOwners(1) is used, i.e. each entry has only a single owner?


      I'm using Infinispan 4.2.0 FINAL and it looks like no such notifications are sent. Is it the expected behavior?


      Are there any other ways to have an observer of a given cache on a remote node? This observer should get all notifications about any changes of the cache state on a remote machine, but it should not maintain its own copy of the entries.

      Specifically, I'm interested in reducing the amount of data excahnged between both nodes and reducing memory usage on the observer node. What would be the best way to achieve this?