public class LruCacheLevelImpl extends AbstractMapCacheLevel
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_ENTRIES |
| Constructor and Description |
|---|
LruCacheLevelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String key)
Retrieves an object from the cache level.
|
void |
initialize(Map<String,String> parameters)
Initialize the cache level.
|
disableKeyFallback, disableSingeValueFallback, enableKeyFallback, enableSingeValueFallback, getBooleanParameter, getFloatParameter, getIntParameter, getMap, put, remove, setMap, toStringpublic static final String MAX_ENTRIES
public void initialize(Map<String,String> parameters)
CacheLevelinitialize in interface CacheLevelinitialize in class AbstractMapCacheLevelparameters - level parameterspublic Object get(String key)
CacheLevelget in interface CacheLevelget in class AbstractMapCacheLevelkey - the key at this cache levelnull if the object doesn't existCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.