Class TestClient


  • public class TestClient
    extends Object
    Holds the client part of the testing utilities
    Since:
    11
    Author:
    Katia Aresti
    • Constructor Detail

      • TestClient

        public TestClient​(TestServer testServer)
    • Method Detail

      • registerResource

        public <T extends Closeable> T registerResource​(T resource)
      • getCounterManager

        public org.infinispan.counter.api.CounterManager getCounterManager()
      • getRemoteMultimapCacheManager

        public <K,​V> org.infinispan.client.hotrod.multimap.MultimapCacheManager<K,​V> getRemoteMultimapCacheManager()
      • setMethodName

        public void setMethodName​(String methodName)
      • clearResources

        public void clearResources()
      • initResources

        public void initResources()
      • addScript

        public String addScript​(org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager,
                                String script)
      • getMethodName

        public String getMethodName()
      • newRestClient

        public org.infinispan.client.rest.RestClient newRestClient​(org.infinispan.client.rest.configuration.RestClientConfigurationBuilder restClientConfigurationBuilder)
      • getMethodName

        public String getMethodName​(String qualifier)
      • getMemcachedClient

        public net.spy.memcached.MemcachedClient getMemcachedClient()