K - key typeV - value typepublic class SelfCleaningTable<K,V> extends Object implements ConcurrentMap<K,V>
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
SelfCleaningTable.ICleanerListener<V>  | 
| Constructor and Description | 
|---|
SelfCleaningTable(String name)  | 
SelfCleaningTable(String name,
                 SelfCleaningTable.ICleanerListener<V> cleanerListener)
Creates a new Table and start a cleaner. 
 | 
SelfCleaningTable(String name,
                 SelfCleaningTable.ICleanerListener<V> cleanerListener,
                 ConcurrentMap underlyingMap)
Creates a new Table and start a cleaner. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()  | 
void | 
close()  | 
boolean | 
containsKey(Object key)  | 
boolean | 
containsValue(Object value)  | 
Set<Map.Entry<K,V>> | 
entrySet()  | 
protected void | 
finalize()  | 
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 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()  | 
String | 
toString()  | 
Collection<V> | 
values()  | 
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic SelfCleaningTable(String name)
public SelfCleaningTable(String name, SelfCleaningTable.ICleanerListener<V> cleanerListener)
public SelfCleaningTable(String name, SelfCleaningTable.ICleanerListener<V> cleanerListener, ConcurrentMap underlyingMap)
protected void finalize()
                 throws Throwable
public void close()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>public V putIfAbsent(K key, V value)
putIfAbsent in interface ConcurrentMap<K,V>putIfAbsent in interface Map<K,V>Copyright © GigaSpaces.