@Deprecated public class ConcurrentSoftCache<Key,Value> extends Object implements Map<Key,Value>
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<Key,SoftReference<com.gigaspaces.internal.utils.collections.ConcurrentSoftCache.DoubleRef<Key,Value>>> |
_map
Deprecated.
|
Constructor and Description |
---|
ConcurrentSoftCache()
Deprecated.
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(Object key)
Deprecated.
|
boolean |
containsValue(Object value)
Deprecated.
|
Set<Map.Entry<Key,Value>> |
entrySet()
Deprecated.
|
Value |
get(Object key)
Deprecated.
Returns the value to which the specified key is mapped in this table.
|
boolean |
isEmpty()
Deprecated.
|
Set<Key> |
keySet()
Deprecated.
|
Value |
put(Key key,
Value value)
Deprecated.
|
void |
putAll(Map<? extends Key,? extends Value> t)
Deprecated.
|
Value |
remove(Object key)
Deprecated.
|
int |
size()
Deprecated.
|
Collection<Value> |
values()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
protected final ConcurrentHashMap<Key,SoftReference<com.gigaspaces.internal.utils.collections.ConcurrentSoftCache.DoubleRef<Key,Value>>> _map
public ConcurrentSoftCache()
public Value get(Object key)
get
in interface Map<Key,Value>
key
- a key in the table.NullPointerException
- if the key is null.public boolean containsKey(Object key)
containsKey
in interface Map<Key,Value>
public boolean containsValue(Object value)
containsValue
in interface Map<Key,Value>
Copyright © GigaSpaces.