com.jdon.controller.cache
Class CacheKeyFactory
java.lang.Object
com.jdon.controller.cache.CacheKeyFactory
- Direct Known Subclasses:
- BlockCacheManager, ModelCacheKeyFactory
public abstract class CacheKeyFactory
- extends java.lang.Object
different cached object, there is different cache key.
CacheKeyFactory is for creating cache key for different object
- Version:
- 1.0
- See Also:
com.jdon.model.cache.ModelCacheKeyFactory}
{@link com.jdon.model.query.cache.BlockCacheKeyFactory}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
cacheManager
protected CacheManager cacheManager
CacheKeyFactory
public CacheKeyFactory(CacheManager cacheManager)
createCacheKey
public CacheKey createCacheKey(java.lang.Object dataKey,
java.lang.String typeName)
createCacheKeyImp
public abstract CacheKey createCacheKeyImp(java.lang.Object dataKey,
java.lang.String typeName)
removeCacheKey
public void removeCacheKey(java.lang.String cacheKeyStr)
getAllCacheKey
public java.util.Collection getAllCacheKey(java.lang.Object dataKey)
- look up all cachekeys that is equals to dataKey
- Parameters:
dataKey -
- Returns:
- Collection