public class RemoteCacheManager
extends org.infinispan.client.hotrod.RemoteCacheManager
implements org.wildfly.clustering.infinispan.client.RemoteCacheContainer
RemoteCacheManager
to provide a name and mechanism for overriding near cache behavior per remote cache.| Constructor and Description |
|---|
RemoteCacheManager(String name,
org.infinispan.client.hotrod.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected <K,V> org.infinispan.client.hotrod.near.NearCacheService<K,V> |
createNearCacheService(org.infinispan.client.hotrod.configuration.NearCacheConfiguration config) |
<K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getCache(String cacheName) |
String |
getName() |
<K,V> org.wildfly.clustering.infinispan.client.RemoteCacheContainer.NearCacheRegistration |
registerNearCacheFactory(String cacheName,
Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory) |
administration, cacheNameBytes, cacheNameBytes, close, getActiveConnectionCount, getCache, getCache, getCache, getCacheNames, getChannelFactory, getCodec, getConfiguration, getConnectionCount, getIdleConnectionCount, getMarshaller, getMarshallerRegistry, getServers, isStarted, start, startAsync, stop, stopAsync, switchToCluster, switchToDefaultClusterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadministrationgetCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getConfiguration, getMarshaller, isStarted, switchToCluster, switchToDefaultClusterpublic RemoteCacheManager(String name, org.infinispan.client.hotrod.configuration.Configuration configuration)
public String getName()
public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName)
getCache in interface org.infinispan.commons.api.BasicCacheContainergetCache in class org.infinispan.client.hotrod.RemoteCacheManagerpublic <K,V> org.wildfly.clustering.infinispan.client.RemoteCacheContainer.NearCacheRegistration registerNearCacheFactory(String cacheName, Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory)
protected <K,V> org.infinispan.client.hotrod.near.NearCacheService<K,V> createNearCacheService(org.infinispan.client.hotrod.configuration.NearCacheConfiguration config)
createNearCacheService in class org.infinispan.client.hotrod.RemoteCacheManagerCopyright © 2019 JBoss by Red Hat. All rights reserved.