|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateCache
The template cache system.
| Method Summary | |
|---|---|
void |
clear()
Remove all mappings from the cache. |
void |
evict(Object key)
Evict the mapping for this key from this cache if it is present. |
Template |
get(Object key)
Return the value to which this cache maps the specified key. |
void |
put(Object key,
Template template)
Associate the specified value with the specified key in this cache. |
| Method Detail |
|---|
void clear()
void evict(Object key)
key - the key whose mapping is to be removed from the cacheTemplate get(Object key)
null if the cache contains no mapping for this key.
key - key whose associated value is to be returned.
null if the cache contains no mapping for this key
void put(Object key,
Template template)
If the cache previously contained a mapping for this key, the old value is replaced by the specified value.
key - the key with which the specified value is to be associatedtemplate - the value to be associated with the specified key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||