public class CloneBackedCache<K,V extends GolangCloneable> extends java.lang.Object implements Cache<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<K,V> |
container |
DEFAULT_LRU_CAPACITY| Constructor and Description |
|---|
CloneBackedCache() |
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key,
java.util.function.Function<K,V> constructor) |