public class CacheWithGetter<K,V> extends CacheWrapper<K,V>
Getter to automatically fill cache misses.| Constructor and Description |
|---|
CacheWithGetter(Cache<K,V> cache,
Getter<K,V> getter) |
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key)
Get from cache - or return null.
|
clear, containsKey, isEmpty, keys, put, remove, setDropHandler, sizeLicenced under the Apache License, Version 2.0