Package com.hybris.backoffice.cache
Interface ObjectCacheKeyGenerator
-
- All Known Implementing Classes:
ObjectCacheKeyGeneratorImpl
public interface ObjectCacheKeyGeneratorGenerates label related cache keys to be used for hybris cache regions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectcomputeKey(java.lang.Object object)Compute key for specific object.ObjectCacheKeycreateCacheKey(java.lang.String typeCode, java.lang.Object objectKey)Creates a cache key for the object label cache region.
-
-
-
Method Detail
-
createCacheKey
ObjectCacheKey createCacheKey(java.lang.String typeCode, java.lang.Object objectKey)
Creates a cache key for the object label cache region.- Parameters:
typeCode- cache type codeobjectKey- object key to the cache key- Returns:
- the created cache key
-
computeKey
java.lang.Object computeKey(java.lang.Object object)
Compute key for specific object.- Parameters:
object-- Returns:
- the computed object key
-
-