public class ManagedRemoteCacheContainer extends Object implements RemoteCacheContainer
RemoteCacheContainer.| Constructor and Description |
|---|
ManagedRemoteCacheContainer(String name,
org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager) |
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.client.hotrod.RemoteCacheManagerAdmin |
administration() |
<K,V> org.infinispan.commons.api.BasicCache<K,V> |
getCache() |
<K,V> org.infinispan.commons.api.BasicCache<K,V> |
getCache(String cacheName) |
<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) |
Set<String> |
getCacheNames() |
org.infinispan.client.hotrod.configuration.Configuration |
getConfiguration() |
org.infinispan.commons.marshall.Marshaller |
getMarshaller() |
String |
getName() |
boolean |
isStarted() |
void |
start() |
void |
stop() |
boolean |
switchToCluster(String clusterName) |
boolean |
switchToDefaultCluster() |
public ManagedRemoteCacheContainer(String name, org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager)
public String getName()
public org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()
public <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache()
getCache in interface org.infinispan.commons.api.BasicCacheContainerpublic <K,V> org.infinispan.commons.api.BasicCache<K,V> getCache(String cacheName)
getCache in interface org.infinispan.commons.api.BasicCacheContainerpublic <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.RemoteCacheContainerpublic <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.RemoteCacheContainerpublic boolean switchToDefaultCluster()
switchToDefaultCluster 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.LifecycleCopyright © 2019 JBoss by Red Hat. All rights reserved.