|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheLevel
Interface for a level of an hierarchical cache.
Cache
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 level
null
if the object doesn't existvoid remove(String key)
key
- the key at this cache level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |