Package com.hybris.backoffice.cache
Interface ObjectCacheKeyGenerator
- All Known Implementing Classes:
ObjectCacheKeyGeneratorImpl
public interface ObjectCacheKeyGenerator
Generates label related cache keys to be used for hybris cache regions
-
Method Summary
Modifier and TypeMethodDescriptioncomputeKey(Object object) Compute key for specific object.createCacheKey(String typeCode, Object objectKey) Creates a cache key for the object label cache region.
-
Method Details
-
createCacheKey
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
Compute key for specific object.- Parameters:
object-- Returns:
- the computed object key
-