Class DefaultHotRodConnectionProvider

    • Constructor Detail

      • DefaultHotRodConnectionProvider

        public DefaultHotRodConnectionProvider​(org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager)
    • Method Detail

      • getRemoteCache

        public <K,​V> org.infinispan.client.hotrod.RemoteCache<K,​V> getRemoteCache​(String name)
        Description copied from interface: HotRodConnectionProvider
        Returns a remote Infinispan cache specified by the given name.
        Specified by:
        getRemoteCache in interface HotRodConnectionProvider
        Type Parameters:
        K - key
        V - value
        Parameters:
        name - String Name of the remote cache.
        Returns:
        A remote Infinispan cache specified by name.
      • close

        public void close()
        Specified by:
        close in interface Provider