| Constructor and Description |
|---|
LRUCache(int cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
T |
get(K key) |
protected abstract T |
loadObjectByKey(K key) |
void |
put(K key,
T value) |
void |
removeItem(K key) |
public T get(K key) throws IOException
get in interface Cache<K,T>IOExceptionprotected abstract T loadObjectByKey(K key) throws IOException
IOExceptionpublic void removeItem(K key)
Copyright © 2022 The Apache Software Foundation. All rights reserved.