Class TestClient
java.lang.Object
org.infinispan.server.test.core.TestClient
Holds the client part of the testing utilities
- Since:
- 11
- Author:
- Katia Aresti
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InfinispanServerTestConfigurationprotected List<AutoCloseable> protected TestServer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.infinispan.counter.api.CounterManagernet.spy.memcached.MemcachedClientgetMemcachedClient(net.spy.memcached.ConnectionFactoryBuilder builder) getMethodName(Object... qualifiers) <K,V> org.infinispan.client.hotrod.multimap.MultimapCacheManager <K, V> hotrod()voidjmx()org.infinispan.client.rest.RestClientnewRestClient(org.infinispan.client.rest.configuration.RestClientConfigurationBuilder restClientConfigurationBuilder) voidregisterHotRodCache(String name, org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager) <T extends AutoCloseable>
TregisterResource(T resource) voidregisterRestCache(String name, org.infinispan.client.rest.RestClient restClient) resp()rest()voidsetMethodName(String methodName)
-
Field Details
-
configuration
-
testServer
-
resources
-
hotrodCacheMap
-
restCacheMap
-
-
Constructor Details
-
TestClient
-
-
Method Details
-
registerResource
-
registerHotRodCache
public void registerHotRodCache(String name, org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager) -
registerRestCache
-
getServerDriver
-
hotrod
-
rest
-
resp
-
memcached
-
jmx
-
getCounterManager
public org.infinispan.counter.api.CounterManager getCounterManager() -
getRemoteMultimapCacheManager
public <K,V> org.infinispan.client.hotrod.multimap.MultimapCacheManager<K,V> getRemoteMultimapCacheManager() -
setMethodName
-
clearResources
public void clearResources() -
initResources
public void initResources() -
addScript
-
newRestClient
public org.infinispan.client.rest.RestClient newRestClient(org.infinispan.client.rest.configuration.RestClientConfigurationBuilder restClientConfigurationBuilder) -
getMemcachedClient
public net.spy.memcached.MemcachedClient getMemcachedClient(net.spy.memcached.ConnectionFactoryBuilder builder) -
getMethodName
-
getMethodName
-