|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Common interface for the OpenCms template cache. Classes and for a customized template cache have to be implemtented.
| Method Summary | |
void |
clearCache()
Deletes all documents from the template cache. |
void |
clearCache(Object key)
Deletes the document with the given key from the template cache. |
byte[] |
get(Object key)
Gets a previously cached template with the given key. |
boolean |
has(Object key)
Checks if there exists a cached template content for a given key. |
void |
put(Object key,
byte[] content)
Stores a template content in the cache using the given key. |
| Method Detail |
public void clearCache()
public void clearCache(Object key)
key - Key of the template that should be deleted.public byte[] get(Object key)
key - Key of the requested template.
public boolean has(Object key)
key - Key that should be checked.
public void put(Object key,
byte[] content)
key - Key that should be used to store the templatecontent - Template content to store.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||