public class RemoteCacheManager extends org.infinispan.client.hotrod.RemoteCacheManager implements RemoteCacheContainer
RemoteCacheManager
to provide a name and mechanism for overriding near cache behavior per remote cache.RemoteCacheContainer.NearCacheRegistration| Constructor and Description |
|---|
RemoteCacheManager(String name,
org.infinispan.client.hotrod.configuration.Configuration configuration,
Registrar<String> registrar) |
| Modifier and Type | Method and Description |
|---|---|
protected <K,V> org.infinispan.client.hotrod.near.NearCacheService<K,V> |
createNearCacheService(String cacheName,
org.infinispan.client.hotrod.configuration.NearCacheConfiguration config) |
<K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getCache(String cacheName,
boolean forceReturnValue,
org.infinispan.client.hotrod.configuration.TransactionMode transactionMode,
TransactionManager transactionManager) |
<K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getCache(String cacheName,
org.infinispan.client.hotrod.configuration.TransactionMode transactionMode,
TransactionManager transactionManager) |
String |
getName()
Returns the name of this remote cache container.
|
<K,V> RemoteCacheContainer.NearCacheRegistration |
registerNearCacheFactory(String cacheName,
Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory)
Registers a factory for creating a near cache for a given cache.
|
administration, cacheNameBytes, cacheNameBytes, close, createChannelFactory, createNearCacheService, getActiveConnectionCount, getAsyncExecutorService, getCache, getCache, getCacheNames, getChannelFactory, getCodec, getConfiguration, getConnectionCount, getIdleConnectionCount, getMarshaller, getMarshallerRegistry, getRetries, getServers, getXaResource, isStarted, isTransactional, start, startAsync, stop, stopAsync, switchToCluster, switchToDefaultClusterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadministration, getCache, getCachepublic String getName()
RemoteCacheContainerpublic <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, TransactionManager transactionManager)
getCache in interface org.infinispan.client.hotrod.RemoteCacheContainergetCache in class org.infinispan.client.hotrod.RemoteCacheManagerpublic <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, TransactionManager transactionManager)
getCache in interface org.infinispan.client.hotrod.RemoteCacheContainergetCache in class org.infinispan.client.hotrod.RemoteCacheManagerpublic <K,V> RemoteCacheContainer.NearCacheRegistration registerNearCacheFactory(String cacheName, Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory)
RemoteCacheContainerK - the cache keyV - the cache valuecacheName - the name of a remote cachefactory - a factory for creating a near cacheprotected <K,V> org.infinispan.client.hotrod.near.NearCacheService<K,V> createNearCacheService(String cacheName, org.infinispan.client.hotrod.configuration.NearCacheConfiguration config)
createNearCacheService in class org.infinispan.client.hotrod.RemoteCacheManagerCopyright © 2020 JBoss by Red Hat. All rights reserved.