public class IgniteClientProxy extends Object implements IgniteProxy
IgniteProxy
that provides access to Ignite cluster through IgniteClient
instance.Constructor and Description |
---|
IgniteClientProxy(IgniteClient cli) |
Modifier and Type | Method and Description |
---|---|
<K,V> IgniteCacheProxy<K,V> |
cache(String name)
Gets cache with the given name.
|
<K,V> IgniteCacheProxy<K,V> |
getOrCreateCache(String name)
Gets existing cache with the given name or creates new one.
|
public IgniteClientProxy(IgniteClient cli)
public <K,V> IgniteCacheProxy<K,V> getOrCreateCache(String name)
getOrCreateCache
in interface IgniteProxy
name
- Cache name.public <K,V> IgniteCacheProxy<K,V> cache(String name)
cache
in interface IgniteProxy
name
- Cache name.null
if it doesn't exist.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024