|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentCacheKeyGenerator
Provides interface to Jetspeed for content cache key generation
Method Summary | |
---|---|
ContentCacheKey |
createCacheKey(RequestContext context,
String windowId)
Normalized and pluggable cache key generator |
ContentCacheKey |
createSessionCacheKey(String sessionid,
String pipeline,
String windowId)
Create a cache key without request context information, but by providing required parameters sessinid and windowid |
ContentCacheKey |
createUserCacheKey(String username,
String pipeline,
String windowId)
Create a cache key without request context information, but by providing required parameters username and windowid |
boolean |
isCacheBySessionId()
return true if caching is by session id, not username |
boolean |
isCacheByUsername()
return true if caching is by username, not sessionid |
Method Detail |
---|
ContentCacheKey createCacheKey(RequestContext context, String windowId)
context
- windowId
- The window id of the portlet to be cached.
ContentCacheKey createUserCacheKey(String username, String pipeline, String windowId)
username
- pipeline
- "desktop" or "portal"windowId
-
ContentCacheKey createSessionCacheKey(String sessionid, String pipeline, String windowId)
sessionid
- pipeline
- "desktop" or "portal"windowId
-
boolean isCacheBySessionId()
boolean isCacheByUsername()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |