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 Summary
Constructors Constructor Description DefaultHotRodConnectionProvider(org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
<K,V>
org.infinispan.client.hotrod.RemoteCache<K,V>getRemoteCache(String name)
Returns a remote Infinispan cache specified by the given name.
-
-
-
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 interfaceHotRodConnectionProvider
- Type Parameters:
K
- keyV
- value- Parameters:
name
- String Name of the remote cache.- Returns:
- A remote Infinispan cache specified by name.
-
-