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

      All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()
      Returns administration utility to administer (create, remove or reindex) caches.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(boolean forceReturnValue)
      Deprecated.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(String cacheName, boolean forceReturnValue)
      Deprecated.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(String cacheName, boolean forceReturnValue, jakarta.transaction.TransactionManager transactionManager)
      Deprecated.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode)
      Deprecated.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(String cacheName, boolean forceReturnValue, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, jakarta.transaction.TransactionManager transactionManager)
      Deprecated.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(String cacheName, jakarta.transaction.TransactionManager transactionManager)
      Deprecated.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode)
      Deprecated.
      default <K,​V>
      org.infinispan.client.hotrod.RemoteCache<K,​V>
      getCache​(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, jakarta.transaction.TransactionManager transactionManager)
      Deprecated.
      String getName()
      Returns the name of this remote cache container.
      CompletionStage<Boolean> isAvailable()  
      • 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

        getCache, getCache, 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 Detail

      • getName

        String getName()
        Returns the name of this remote cache container.
        Returns:
        the remote cache container name
      • getCache

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

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

        @Deprecated
        default <K,​V> org.infinispan.client.hotrod.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> org.infinispan.client.hotrod.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> org.infinispan.client.hotrod.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> org.infinispan.client.hotrod.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> org.infinispan.client.hotrod.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> org.infinispan.client.hotrod.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