|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheProvider
A provider for the CacheFilter.
| Method Summary | |
|---|---|
void |
destroy()
Tear down. |
CacheEntry |
getEntry(java.lang.String key)
Get the cache entry for the given key. |
void |
init(javax.servlet.FilterConfig conf)
Initialize with the given filter config. |
void |
setEntry(java.lang.String key,
CacheEntry ce,
long cacheTime)
Store a cache entry for the given key. |
| Method Detail |
|---|
void init(javax.servlet.FilterConfig conf)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionvoid destroy()
CacheEntry getEntry(java.lang.String key)
key - the cache key
void setEntry(java.lang.String key,
CacheEntry ce,
long cacheTime)
key - the key under which to store the entryce - the entry to storecacheTime - how long the item should be considered valid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||