3 Replies Latest reply on Oct 7, 2015 11:22 AM by Cyril Chéné

    How to be notified of clients coming and leaving the distributed data-grid?

    Cyril Chéné Newbie

      Hello,

       

      I am evaluating Infinispan as a distributed data-grid. Everything seems OK, except I would like to be notified each time a new client comes up or leaves (accidentally or voluntarily).

       

      Does anybody know how this can be achieved?

       

      I could not find any Infinispan listener for this kind of events. I know this is not at the heart of Infinsipan's business, but that would be nice

       

      JGroups has a MembershipListener that looks like what I want, but I'm not sure how I can safely retrieve the JChannel instance (as it is lazily instantiated) and adding my listener without troubling Infinispan...

       

      Any idea would be much appreciated!

       

      Thanks,

      Cyril