|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cache
| Method Summary | |
|---|---|
void |
destroy()
Destroy cache. |
Object |
get(String id)
Get a resource by id. |
void |
put(String id,
Object resource)
Put a resource into the cache. |
| Method Detail |
|---|
void put(String id,
Object resource)
id - the id of the resourceresource - the resource to cacheObject get(String id)
id - the id of the resource
void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||