public class Cache<K,V>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
current_time_ |
protected java.util.Map<K,marmot.util.Cache.CacheEntry> |
storage_ |
| Constructor and Description |
|---|
Cache() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(int delta) |
V |
get(K key) |
void |
put(K key,
V value) |