Class RemoteCacheManager
- java.lang.Object
-
- org.infinispan.client.hotrod.RemoteCacheManager
-
- org.jboss.as.clustering.infinispan.client.RemoteCacheManager
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean,org.infinispan.client.hotrod.RemoteCacheContainer,org.infinispan.commons.api.BasicCacheContainer,org.infinispan.commons.api.Lifecycle,org.wildfly.clustering.infinispan.client.RemoteCacheContainer
public class RemoteCacheManager extends org.infinispan.client.hotrod.RemoteCacheManager implements org.wildfly.clustering.infinispan.client.RemoteCacheContainerExtends Infinispan'sRemoteCacheManagerto provide a name and mechanism for overriding near cache behavior per remote cache.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description RemoteCacheManager(String name, org.infinispan.client.hotrod.configuration.Configuration configuration, org.wildfly.clustering.Registrar<String> registrar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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, javax.transaction.TransactionManager transactionManager)<K,V>
org.infinispan.client.hotrod.RemoteCache<K,V>getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, javax.transaction.TransactionManager transactionManager)StringgetName()<K,V>
org.wildfly.clustering.infinispan.client.RemoteCacheContainer.NearCacheRegistrationregisterNearCacheFactory(String cacheName, org.wildfly.clustering.infinispan.client.NearCacheFactory<K,V> factory)-
Methods inherited from class org.infinispan.client.hotrod.RemoteCacheManager
administration, cacheNameBytes, cacheNameBytes, close, createChannelFactory, getActiveConnectionCount, getAsyncExecutorService, getCache, getCache, getCacheNames, getChannelFactory, getCodec, getConfiguration, getConnectionCount, getIdleConnectionCount, getMarshaller, getMarshallerRegistry, getRetries, getServers, getXaResource, isStarted, isTransactional, start, startAsync, stop, stopAsync, switchToCluster, switchToDefaultCluster
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.client.hotrod.RemoteCacheContainer
getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getConfiguration, getMarshaller, isStarted, isTransactional, switchToCluster, switchToDefaultCluster
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.wildfly.clustering.infinispan.client.RemoteCacheContainer
-
getCache
public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, javax.transaction.TransactionManager transactionManager)
- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer- Overrides:
getCachein classorg.infinispan.client.hotrod.RemoteCacheManager
-
getCache
public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, javax.transaction.TransactionManager transactionManager)
- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer- Overrides:
getCachein classorg.infinispan.client.hotrod.RemoteCacheManager
-
registerNearCacheFactory
public <K,V> org.wildfly.clustering.infinispan.client.RemoteCacheContainer.NearCacheRegistration registerNearCacheFactory(String cacheName, org.wildfly.clustering.infinispan.client.NearCacheFactory<K,V> factory)
- Specified by:
registerNearCacheFactoryin interfaceorg.wildfly.clustering.infinispan.client.RemoteCacheContainer
-
createNearCacheService
protected <K,V> org.infinispan.client.hotrod.near.NearCacheService<K,V> createNearCacheService(String cacheName, org.infinispan.client.hotrod.configuration.NearCacheConfiguration config)
- Overrides:
createNearCacheServicein classorg.infinispan.client.hotrod.RemoteCacheManager
-
-