|
||||||||||
| 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,
java.lang.String windowId)
Normalized and pluggable cache key generator |
ContentCacheKey |
createSessionCacheKey(java.lang.String sessionid,
java.lang.String pipeline,
java.lang.String windowId)
Create a cache key without request context information, but by providing required parameters sessinid and windowid |
ContentCacheKey |
createUserCacheKey(java.lang.String username,
java.lang.String pipeline,
java.lang.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,
java.lang.String windowId)
context - windowId - The window id of the portlet to be cached.
ContentCacheKey createUserCacheKey(java.lang.String username,
java.lang.String pipeline,
java.lang.String windowId)
username - pipeline - "desktop" or "portal"windowId -
ContentCacheKey createSessionCacheKey(java.lang.String sessionid,
java.lang.String pipeline,
java.lang.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 | |||||||||