org.apache.jetspeed.cache.impl
Class JetspeedCacheKeyGenerator
java.lang.Object
org.apache.jetspeed.cache.impl.JetspeedCacheKeyGenerator
- All Implemented Interfaces:
- org.apache.jetspeed.cache.ContentCacheKeyGenerator
public class JetspeedCacheKeyGenerator
- extends Object
- implements org.apache.jetspeed.cache.ContentCacheKeyGenerator
Wrapper around actual cache implementation
- Version:
- $Id: $
- Author:
- David Sean Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
segments
private List segments
cacheBySessionId
private boolean cacheBySessionId
JetspeedCacheKeyGenerator
public JetspeedCacheKeyGenerator(List segments)
createCacheKey
public org.apache.jetspeed.cache.ContentCacheKey createCacheKey(org.apache.jetspeed.request.RequestContext context,
String windowId)
- Specified by:
createCacheKey
in interface org.apache.jetspeed.cache.ContentCacheKeyGenerator
createUserCacheKey
public org.apache.jetspeed.cache.ContentCacheKey createUserCacheKey(String username,
String pipeline,
String windowId)
- Specified by:
createUserCacheKey
in interface org.apache.jetspeed.cache.ContentCacheKeyGenerator
createSessionCacheKey
public org.apache.jetspeed.cache.ContentCacheKey createSessionCacheKey(String sessionId,
String pipeline,
String windowId)
- Specified by:
createSessionCacheKey
in interface org.apache.jetspeed.cache.ContentCacheKeyGenerator
isCacheBySessionId
public boolean isCacheBySessionId()
- Specified by:
isCacheBySessionId
in interface org.apache.jetspeed.cache.ContentCacheKeyGenerator
isCacheByUsername
public boolean isCacheByUsername()
- Specified by:
isCacheByUsername
in interface org.apache.jetspeed.cache.ContentCacheKeyGenerator
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.