Class DefaultHotRodConnectionProvider
java.lang.Object
org.keycloak.models.map.storage.hotRod.connections.DefaultHotRodConnectionProvider
- All Implemented Interfaces:
HotRodConnectionProvider
,Provider
- Author:
- Martin Kanis
-
Constructor Summary
ConstructorDescriptionDefaultHotRodConnectionProvider
(org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
<K,
V> org.infinispan.client.hotrod.RemoteCache<K, V> getRemoteCache
(String name) Returns a remote Infinispan cache specified by the given name.
-
Constructor Details
-
DefaultHotRodConnectionProvider
public DefaultHotRodConnectionProvider(org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager)
-
-
Method Details
-
getRemoteCache
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.
-
close
public void close()
-