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
Well, it's UnsupportedOperationException, so, not supported