public class ManagedRemoteCacheContainer extends Object implements RemoteCacheContainer
RemoteCacheContainer decorator, whose lifecycle methods are no-ops.RemoteCacheContainer.NearCacheRegistration| Constructor and Description |
|---|
ManagedRemoteCacheContainer(RemoteCacheManager container) |
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.client.hotrod.RemoteCacheManagerAdmin |
administration() |
int |
getActiveConnectionCount() |
<K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getCache(String cacheName,
boolean forceReturnValue,
org.infinispan.client.hotrod.configuration.TransactionMode transactionMode,
TransactionManager transactionManager) |
Set<String> |
getCacheNames() |
org.infinispan.client.hotrod.configuration.Configuration |
getConfiguration() |
int |
getConnectionCount() |
int |
getIdleConnectionCount() |
org.infinispan.commons.marshall.Marshaller |
getMarshaller() |
String |
getName() |
long |
getRetries() |
String[] |
getServers() |
boolean |
isStarted() |
boolean |
isTransactional(String cacheName) |
<K,V> RemoteCacheContainer.NearCacheRegistration |
registerNearCacheFactory(String cacheName,
Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory) |
void |
start() |
void |
stop() |
boolean |
switchToCluster(String clusterName) |
boolean |
switchToDefaultCluster() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCache, getCache, getCachepublic ManagedRemoteCacheContainer(RemoteCacheManager container)
public String getName()
public org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()
public <K,V> RemoteCacheContainer.NearCacheRegistration registerNearCacheFactory(String cacheName, Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory)
public <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.RemoteCacheContainerpublic org.infinispan.client.hotrod.configuration.Configuration getConfiguration()
getConfiguration in interface org.infinispan.client.hotrod.RemoteCacheContainerpublic boolean isStarted()
isStarted in interface org.infinispan.client.hotrod.RemoteCacheContainerpublic boolean switchToCluster(String clusterName)
switchToCluster in interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBeanswitchToCluster in interface org.infinispan.client.hotrod.RemoteCacheContainerpublic boolean switchToDefaultCluster()
switchToDefaultCluster in interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBeanswitchToDefaultCluster in interface org.infinispan.client.hotrod.RemoteCacheContainerpublic org.infinispan.commons.marshall.Marshaller getMarshaller()
getMarshaller in interface org.infinispan.client.hotrod.RemoteCacheContainerpublic Set<String> getCacheNames()
getCacheNames in interface org.infinispan.commons.api.BasicCacheContainerpublic void start()
start in interface org.infinispan.commons.api.Lifecyclepublic void stop()
stop in interface org.infinispan.commons.api.Lifecyclepublic String[] getServers()
getServers in interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBeanpublic int getActiveConnectionCount()
getActiveConnectionCount in interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBeanpublic int getConnectionCount()
getConnectionCount in interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBeanpublic int getIdleConnectionCount()
getIdleConnectionCount in interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBeanpublic long getRetries()
getRetries in interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBeanpublic boolean isTransactional(String cacheName)
isTransactional in interface org.infinispan.client.hotrod.RemoteCacheContainerCopyright © 2020 JBoss by Red Hat. All rights reserved.