public class GridCacheMapAdapter<K,V> extends Object implements ConcurrentMap<K,V>
ConcurrentMap.| Constructor and Description |
|---|
GridCacheMapAdapter(CacheProjection<K,V> prj)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> map) |
V |
putIfAbsent(K key,
V val) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object val) |
V |
replace(K key,
V val) |
boolean |
replace(K key,
V oldVal,
V newVal) |
int |
size() |
Collection<V> |
values() |
public GridCacheMapAdapter(CacheProjection<K,V> prj)
prj - Cache to wrap.public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>@Nullable public V putIfAbsent(K key, V val)
putIfAbsent in interface ConcurrentMap<K,V>public boolean remove(Object key, Object val)
remove in interface ConcurrentMap<K,V>public boolean replace(K key, V oldVal, V newVal)
replace in interface ConcurrentMap<K,V>@Nullable public V replace(K key, V val)
replace in interface ConcurrentMap<K,V>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015