Interface CPSCacheKeyGenerator
-
- All Known Implementing Classes:
CPSCacheKeyGeneratorImpl
public interface CPSCacheKeyGeneratorGenerates cache keys to be used for hybris cache regions in CPS context
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductConfigurationCacheKeycreateConfigurationCacheKey(java.lang.String configId)Creates a cache key for the configuration cache regionProductConfigurationCacheKeycreateCookieCacheKey(java.lang.String configId)Creates a cache key for the cookie cache regionProductConfigurationCacheKeycreateKnowledgeBaseHeadersCacheKey(java.lang.String product)Creates a cache key for the knowledgebase headers cache regionProductConfigurationCacheKeycreateMasterDataCacheKey(java.lang.String kbId, java.lang.String lang)Creates a cache key for the master data cache regionProductConfigurationCacheKeycreateValuePricesCacheKey(java.lang.String kbId, java.lang.String pricingProduct)Creates a cache key for the value prices cache region
-
-
-
Method Detail
-
createMasterDataCacheKey
ProductConfigurationCacheKey createMasterDataCacheKey(java.lang.String kbId, java.lang.String lang)
Creates a cache key for the master data cache region- Parameters:
kbId- knowledgebase idlang- language- Returns:
- the created cache key
-
createKnowledgeBaseHeadersCacheKey
ProductConfigurationCacheKey createKnowledgeBaseHeadersCacheKey(java.lang.String product)
Creates a cache key for the knowledgebase headers cache region- Parameters:
product- product for which knowledgebases are looked up- Returns:
- the created cache key
-
createCookieCacheKey
ProductConfigurationCacheKey createCookieCacheKey(java.lang.String configId)
Creates a cache key for the cookie cache region- Parameters:
configId- configuration runtime id- Returns:
- the created cache key
-
createValuePricesCacheKey
ProductConfigurationCacheKey createValuePricesCacheKey(java.lang.String kbId, java.lang.String pricingProduct)
Creates a cache key for the value prices cache region- Parameters:
kbId- knowledgebase id for which all value prices are calculatedpricingProduct-- Returns:
- the created cache key
-
createConfigurationCacheKey
ProductConfigurationCacheKey createConfigurationCacheKey(java.lang.String configId)
Creates a cache key for the configuration cache region- Parameters:
configId- configuration id- Returns:
- the created cache key
-
-