public interface CacheLevel extends Serializable
Cache
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.
|
void |
put(Object value,
String key)
Adds an object to the cache level.
|
void |
remove(String key)
Removes an object from this cache level.
|
void initialize(Map<String,String> parameters)
parameters
- level parametersvoid put(Object value, String key)
value
- the objectkey
- the key at this levelObject get(String key)
key
- the key at this cache levelnull
if the object doesn't existvoid remove(String key)
key
- the key at this cache levelCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.