|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlazyj.cache.ExpirationCache<java.lang.String,CachingStructure>
lazyj.PageCache
public final class PageCache
This is the page cache.
| Method Summary | |
|---|---|
protected void |
callbackOnExpiry(java.lang.String key,
CachingStructure cs)
Cleanup thread, takes an entry that has expired, removes it from the cache and checks if it deserves a bonus. |
static void |
clear()
Clear all the cache structures (in case of major changes to the templates ...) |
static CachingStructure |
get(javax.servlet.http.HttpServletRequest request,
java.lang.String sCacheKeyModifier)
Get the contents generating the key on the fly from the request and the extra modifiers |
static java.util.List<CachingStructure> |
getCacheContent()
Get the entrire contents of the cache. |
static CachingStructure |
put(javax.servlet.http.HttpServletRequest request,
java.lang.String sCacheKeyModifier,
byte[] vbContent,
long lLifetime,
java.lang.String sContentType)
Cache some arbitrary contents |
| Methods inherited from class lazyj.cache.ExpirationCache |
|---|
get, getKeys, getRefreshTime, getValues, overwrite, put, refresh, remove, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected void callbackOnExpiry(java.lang.String key,
CachingStructure cs)
callbackOnExpiry in class ExpirationCache<java.lang.String,CachingStructure>key - key that is removedcs - value for the key that is removedpublic static java.util.List<CachingStructure> getCacheContent()
public static CachingStructure get(javax.servlet.http.HttpServletRequest request,
java.lang.String sCacheKeyModifier)
request - sCacheKeyModifier -
public static void clear()
public static CachingStructure put(javax.servlet.http.HttpServletRequest request,
java.lang.String sCacheKeyModifier,
byte[] vbContent,
long lLifetime,
java.lang.String sContentType)
request - incoming requestsCacheKeyModifier - vbContent - lLifetime - sContentType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||