public class RedisConcurrentMap<K,V> extends Object implements ConcurrentMap<K,V>
Constructor and Description |
---|
RedisConcurrentMap(String name,
String clusterName,
RedisDB redisDb) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
V |
getOrDefault(Object key,
V defaultValue) |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
putIfAbsent(K key,
V value) |
V |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
int |
size() |
Collection<V> |
values() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, merge, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public V getOrDefault(Object key, V defaultValue)
getOrDefault
in interface ConcurrentMap<K,V>
getOrDefault
in interface Map<K,V>
public V putIfAbsent(K key, V value)
putIfAbsent
in interface ConcurrentMap<K,V>
putIfAbsent
in interface Map<K,V>
public int hashCode()
public boolean equals(Object o)
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
Copyright © 2016 Electronic Arts Inc. All rights reserved.