public interface Cache<K,V>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearMemory()
Evict all items from the memory cache.
|
V |
get(K key) |
void |
initialize() |
void |
put(K key,
V value) |
void |
remove(K key) |
void |
trimMemory(int level)
Trim the memory cache to the appropriate level.
|
void initialize()
void remove(K key)
void clearMemory()
void trimMemory(int level)
level - This integer represents a trim level as specified in ComponentCallbacks2.