Class DefaultHotRodConnectionProvider

java.lang.Object
org.keycloak.models.map.storage.hotRod.connections.DefaultHotRodConnectionProvider
All Implemented Interfaces:
HotRodConnectionProvider, Provider

public class DefaultHotRodConnectionProvider extends Object implements HotRodConnectionProvider
Author:
Martin Kanis
  • Constructor Details

    • DefaultHotRodConnectionProvider

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

    • 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