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 Type
    Method
    Description
    org.infinispan.client.hotrod.RemoteCacheManagerAdmin
    Returns administration utility to administer (create, remove or reindex) caches.
    <K, V> RemoteCache<K,V>
     
    default <K, V> RemoteCache<K,V>
    getCache(boolean forceReturnValue)
    Deprecated.
    <K, V> RemoteCache<K,V>
    getCache(String cacheName)
     
    default <K, V> RemoteCache<K,V>
    getCache(String cacheName, boolean forceReturnValue)
    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>
    getCache(String cacheName, jakarta.transaction.TransactionManager transactionManager)
    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.
    Returns the name of this remote cache container.
     

    Methods inherited from interface org.infinispan.commons.api.BasicCacheContainer

    getCacheNames

    Methods inherited from interface org.infinispan.commons.api.Lifecycle

    start, stop

    Methods inherited from interface org.infinispan.client.hotrod.RemoteCacheContainer

    getConfiguration, getCurrentClusterName, getMarshaller, isStarted, isTransactional, switchToCluster, switchToDefaultCluster

    Methods 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

      <K, V> RemoteCache<K,V> getCache()
      Specified by:
      getCache in interface org.infinispan.commons.api.BasicCacheContainer
      Specified by:
      getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • getCache

      <K, V> RemoteCache<K,V> getCache(String cacheName)
      Specified by:
      getCache in interface org.infinispan.commons.api.BasicCacheContainer
      Specified by:
      getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • getCache

      @Deprecated default <K, V> RemoteCache<K,V> getCache(boolean forceReturnValue)
      Deprecated.
      Specified by:
      getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • getCache

      @Deprecated default <K, V> RemoteCache<K,V> getCache(String cacheName, boolean forceReturnValue)
      Deprecated.
      Specified by:
      getCache in interface org.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:
      getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • getCache

      @Deprecated default <K, V> RemoteCache<K,V> getCache(String cacheName, jakarta.transaction.TransactionManager transactionManager)
      Deprecated.
      Specified by:
      getCache in interface org.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:
      getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer
    • getCache

      @Deprecated default <K, V> RemoteCache<K,V> getCache(String cacheName, boolean forceReturnValue, jakarta.transaction.TransactionManager transactionManager)
      Deprecated.
      Specified by:
      getCache in interface org.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:
      getCache in interface org.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:
      getCache in interface org.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()