1 Reply Latest reply on Apr 10, 2013 8:28 AM by Martin Gencur

    Monitoring Cache Events Locally on Remote Instances

    Ian Lawson Newbie

      Here's what I want to do - tell me if it is impossible.

       

      1. Setup a remote cache.
      2. Add/Remove elements to that cache remotely.
      3. Detect Entry Added and Entry Removed locally at the remote machine.

       

      Simple question is - is there a CacheManager I can use locally (on the remote instance) to which I can attach a listener such that I will consistently pick up change events on the cache that are triggered remotely?

       

      Currently I am using RemoteCacheManager to attain a RemoteCache at the remote machine, which of course does not have the addListener. I want to be able to attain a listener locally at the remote machine so I can monitor and collate key information for that cache.