public interface ContentCacheKeyGenerator
Provides interface to Jetspeed for content cache key generation
Modifier and Type | Method and Description |
---|---|
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
|
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()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.