public class CacheMap<K,V>
extends java.lang.Object
Constructor and Description |
---|
CacheMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
V |
get(K key) |
V |
get(K key,
V defaultItemValue,
long itemExpirationNano) |
void |
put(K key,
V item,
long itemExpirationNano) |
void |
putIfAbsent(K key,
V item,
long itemExpirationNano) |
void |
remove(K key) |
int |
size() |
public void remove(K key)
public void clear()
public int size()