2 Replies Latest reply on Jan 16, 2014 3:28 AM by tomas11

    HotRod server notification status

    tomas11

      Hi

       

      For embedded Infinispan there is @ViewChanged annotation which can be used when cluster topology is changed.

      Is there any similar way how this can be done when Hotrod servers are used?

       

      Lets say I start 10 hotrod servers.

      I instatiate


      RemoteCacheManager cacheContainer = new RemoteCacheManager(resource, true);

       

      How can I be aware from this cacheContainer that new server for example with number 11 has been added to topology or one of the servers was stopped?

      Is there such possibility?

       

      Thanks

      Tomas