public class ContentTypeCacheLevelImpl extends MapCacheLevelImpl
CAPACITY, LOAD_FACTOR, SINGLE_VALUE
Constructor and Description |
---|
ContentTypeCacheLevelImpl()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(String key)
Retrieves an object from the cache level.
|
void |
put(Object value,
String key)
Adds an object to the cache level.
|
void |
remove(String key)
Removes an object from this cache level.
|
initialize
disableKeyFallback, disableSingeValueFallback, enableKeyFallback, enableSingeValueFallback, getBooleanParameter, getFloatParameter, getIntParameter, getMap, setMap, toString
public 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 existpublic void put(Object value, String key)
CacheLevel
put
in interface CacheLevel
put
in class AbstractMapCacheLevel
value
- the objectkey
- the key at this levelpublic void remove(String key)
CacheLevel
remove
in interface CacheLevel
remove
in class AbstractMapCacheLevel
key
- the key at this cache levelCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.