2 Replies Latest reply on Dec 7, 2011 3:09 PM by Ankur Goenka

    How to get all the cache names in an Infinispan cache clusture

    Ankur Goenka Newbie

      I am using Infinispan with jgroups in java. I want to get all the cache names in an infinispan cache clusture. I have tried using DefaultCacheManager.getCacheNames(); but it gives only the cache which are accessed on that the jvm from which it is called from and not all the caches in that cluster.

      once i access a cache on that jvm, it becomes available and the it starts coming in the cachelist. which i get from DefaultCacheManager.getCacheNames();

      I am using the same config file for infinispan and jgroups(using tcp)

      Please suggest a was by which i can get all the cache names in a clusture

      Thanks, Ankur