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, toString
public static final String MAX_ENTRIES
public void initialize(Map<String,String> parameters)
CacheLevel
initialize
in interface CacheLevel
initialize
in class AbstractMapCacheLevel
parameters
- level parameterspublic Object get(String key)
CacheLevel
get
in interface CacheLevel
get
in class AbstractMapCacheLevel
key
- the key at this cache levelnull
if the object doesn't existCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.