1 Reply Latest reply on Aug 30, 2012 4:45 AM by Galder Zamarreño

    RemoteCache keyset() not working

    Aditya Lele Newbie

      Whenever I try to use

       

      RemoteCacheManager cacheContainer = new RemoteCacheManager();

      RemoteCache<Object, Object> cache = cacheContainer.getCache("name2"); 

       

      System.out.println(cache.keySet());

       

      I get a runtime error

       

      Exception in thread "main" java.lang.UnsupportedOperationException

                at org.infinispan.client.hotrod.impl.RemoteCacheSupport.keySet(RemoteCacheSupport.java:68)

                at org.adix.hotrodclient.main(hotrodclient.java:58)

       

       

       

      This also happens with many other functions like entrySet() and values()

       

      im using infinispan 5.1.5.FINAL