Class ManagedRemoteCacheContainer
java.lang.Object
org.jboss.as.clustering.infinispan.client.ManagedRemoteCacheContainer
- All Implemented Interfaces:
org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean,org.infinispan.client.hotrod.RemoteCacheContainer,org.infinispan.commons.api.BasicCacheContainer,org.infinispan.commons.api.Lifecycle,RemoteCacheContainer
Container managed
RemoteCacheManager decorator, whose lifecycle methods are no-ops.- Author:
- Radoslav Husar, Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionManagedRemoteCacheContainer(org.infinispan.client.hotrod.RemoteCacheManager container, String name, org.jboss.modules.ModuleLoader loader, org.wildfly.clustering.server.Registrar<String> registrar) -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.client.hotrod.RemoteCacheManagerAdminbooleanint<K,V> org.infinispan.client.hotrod.RemoteCache<K, V> getCache()<K,V> org.infinispan.client.hotrod.RemoteCache<K, V> org.infinispan.client.hotrod.configuration.Configurationintintorg.infinispan.commons.marshall.MarshallergetName()longString[]inthashCode()booleanbooleanisTransactional(String cacheName) voidstart()voidstop()booleanswitchToCluster(String clusterName) booleantoString()
-
Constructor Details
-
ManagedRemoteCacheContainer
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceRemoteCacheContainer
-
administration
public org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()- Specified by:
administrationin interfaceRemoteCacheContainer
-
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
-
getCache
- Specified by:
getCachein interfaceorg.infinispan.commons.api.BasicCacheContainer- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
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
-
getCurrentClusterName
- Specified by:
getCurrentClusterNamein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer- Specified by:
getCurrentClusterNamein interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
switchToCluster
- Specified by:
switchToClusterin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer- Specified by:
switchToClusterin interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
switchToDefaultCluster
public boolean switchToDefaultCluster()- Specified by:
switchToDefaultClusterin interfaceorg.infinispan.client.hotrod.RemoteCacheContainer- Specified by:
switchToDefaultClusterin interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
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
-
getCacheNames
- Specified by:
getCacheNamesin interfaceorg.infinispan.commons.api.BasicCacheContainer
-
start
public void start()- Specified by:
startin interfaceorg.infinispan.commons.api.Lifecycle
-
stop
public void stop()- Specified by:
stopin interfaceorg.infinispan.commons.api.Lifecycle
-
getServers
- Specified by:
getServersin interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
getActiveConnectionCount
public int getActiveConnectionCount()- Specified by:
getActiveConnectionCountin interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
getConnectionCount
public int getConnectionCount()- Specified by:
getConnectionCountin interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
getIdleConnectionCount
public int getIdleConnectionCount()- Specified by:
getIdleConnectionCountin interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
getRetries
public long getRetries()- Specified by:
getRetriesin interfaceorg.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
-
hashCode
public int hashCode() -
equals
-
toString
-