Interface RemoteCacheContainer
- All Superinterfaces:
org.infinispan.commons.api.BasicCacheContainer,org.infinispan.commons.api.Lifecycle,org.infinispan.client.hotrod.RemoteCacheContainer,org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
public interface RemoteCacheContainer
extends org.infinispan.client.hotrod.RemoteCacheContainer, org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
Extends Infinispan's
org.wildfly.clustering.infinispan.client.client.hotrod.RemoteCacheContainer additionally exposing the name of the
remote cache container, an administration utility, and a mechanism for configuring near caching per remote cache.- Author:
- Radoslav Husar, Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.client.hotrod.RemoteCacheManagerAdminReturns administration utility to administer (create, remove or reindex) caches.<K,V> RemoteCache<K, V> getCache()default <K,V> RemoteCache<K, V> getCache(boolean forceReturnValue) Deprecated.<K,V> RemoteCache<K, V> default <K,V> RemoteCache<K, V> Deprecated.default <K,V> RemoteCache<K, V> getCache(String cacheName, boolean forceReturnValue, jakarta.transaction.TransactionManager transactionManager) Deprecated.default <K,V> RemoteCache<K, V> getCache(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode) Deprecated.default <K,V> RemoteCache<K, V> getCache(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, jakarta.transaction.TransactionManager transactionManager) Deprecated.default <K,V> RemoteCache<K, V> Deprecated.default <K,V> RemoteCache<K, V> getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode) Deprecated.default <K,V> RemoteCache<K, V> getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, jakarta.transaction.TransactionManager transactionManager) Deprecated.getName()Returns the name of this remote cache container.Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer
getCacheNamesMethods inherited from interface org.infinispan.commons.api.Lifecycle
start, stopMethods inherited from interface org.infinispan.client.hotrod.RemoteCacheContainer
getConfiguration, getCurrentClusterName, getMarshaller, isStarted, isTransactional, switchToCluster, switchToDefaultClusterMethods inherited from interface org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
getActiveConnectionCount, getConnectionCount, getCurrentClusterName, getIdleConnectionCount, getRetries, getServers, switchToCluster, switchToDefaultCluster
-
Method Details
-
getName
String getName()Returns the name of this remote cache container.- Returns:
- the remote cache container name
-
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
-
getCache
Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCache
Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCache
@Deprecated default <K,V> RemoteCache<K,V> getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode) Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCache
@Deprecated default <K,V> RemoteCache<K,V> getCache(String cacheName, jakarta.transaction.TransactionManager transactionManager) Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCache
@Deprecated default <K,V> RemoteCache<K,V> getCache(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode) Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCache
@Deprecated default <K,V> RemoteCache<K,V> getCache(String cacheName, boolean forceReturnValue, jakarta.transaction.TransactionManager transactionManager) Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCache
@Deprecated default <K,V> RemoteCache<K,V> getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, jakarta.transaction.TransactionManager transactionManager) Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
getCache
@Deprecated default <K,V> RemoteCache<K,V> getCache(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, jakarta.transaction.TransactionManager transactionManager) Deprecated.- Specified by:
getCachein interfaceorg.infinispan.client.hotrod.RemoteCacheContainer
-
administration
org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()Returns administration utility to administer (create, remove or reindex) caches.- Returns:
- administration utility
-
isAvailable
CompletionStage<Boolean> isAvailable()
-