Class RemoteCacheContainerDecorator
java.lang.Object
org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
org.wildfly.clustering.cache.infinispan.remote.RemoteCacheContainerDecorator
- All Implemented Interfaces:
org.infinispan.client.hotrod.RemoteCacheContainer, org.infinispan.commons.api.BasicCacheContainer, org.infinispan.commons.api.Lifecycle
public class RemoteCacheContainerDecorator
extends org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
implements org.infinispan.client.hotrod.RemoteCacheContainer
A decorator of a
RemoteCacheContainer.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRemoteCacheContainerDecorator(org.infinispan.client.hotrod.RemoteCacheContainer container) Creates a new remote cache container decorator -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.client.hotrod.RemoteCacheManagerAdmin<K,V> org.infinispan.client.hotrod.RemoteCache <K, V> getCache()<K,V> org.infinispan.client.hotrod.RemoteCache <K, V> org.infinispan.client.hotrod.configuration.Configurationorg.infinispan.commons.marshall.MarshallerbooleanbooleanisTransactional(String cacheName) booleanswitchToCluster(String clusterName) booleanMethods inherited from class org.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
equals, getCacheNames, hashCode, start, stop, stopCache, toStringMethods inherited from interface org.infinispan.commons.api.BasicCacheContainer
getCacheNames, stopCacheMethods inherited from interface org.infinispan.commons.api.Lifecycle
start, stop
-
Constructor Details
-
RemoteCacheContainerDecorator
protected RemoteCacheContainerDecorator(org.infinispan.client.hotrod.RemoteCacheContainer container) Creates a new remote cache container decorator- Parameters:
container- the decorated remote cache container
-
-
Method Details
-
getCache
public <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache()- Specified by:
getCachein interfaceorg.infinispan.commons.api.BasicCacheContainer- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer- Overrides:
getCachein classorg.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
-
getCache
- Specified by:
getCachein interfaceorg.infinispan.commons.api.BasicCacheContainer- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer- Overrides:
getCachein classorg.wildfly.clustering.cache.infinispan.BasicCacheContainerDecorator
-
getConfiguration
public org.infinispan.client.hotrod.configuration.Configuration getConfiguration()- Specified by:
getConfigurationin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
switchToCluster
- Specified by:
switchToClusterin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
switchToDefaultCluster
public boolean switchToDefaultCluster()- Specified by:
switchToDefaultClusterin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCurrentClusterName
- Specified by:
getCurrentClusterNamein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getMarshaller
public org.infinispan.commons.marshall.Marshaller getMarshaller()- Specified by:
getMarshallerin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
isTransactional
- Specified by:
isTransactionalin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
administration
public org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()- Specified by:
administrationin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-