Class ProductConfigurationCacheKey
java.lang.Object
de.hybris.platform.regioncache.key.AbstractCacheKey
de.hybris.platform.sap.productconfig.runtime.interf.cache.impl.ProductConfigurationCacheKey
- All Implemented Interfaces:
CacheKey
Default implementation for a cache key in sap productconfig The field keys contains the additional cache keys. The
keys of the map correspond to the names of the additional fields. The values of the map correspond to the actual
value of the additional field.
-
Field Summary
Fields inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
cachedHash, tenantId, typeCode, valueType -
Constructor Summary
ConstructorsConstructorDescriptionProductConfigurationCacheKey(Map<String, String> keys, CacheUnitValueType valueType, String typeCode, String tenantId) Default constructorConstructor which assumes that the cache's valueType is not serializable -
Method Summary
Methods inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
getCacheValueType, getTenantId, getTypeCode
-
Constructor Details
-
ProductConfigurationCacheKey
public ProductConfigurationCacheKey(Map<String, String> keys, CacheUnitValueType valueType, String typeCode, String tenantId) Default constructor- Parameters:
keys- map of additional fields to the cache keyvalueType- indicates whether the caches valueType is serializabletypeCode- type codetenantId- hybris tenant
-
ProductConfigurationCacheKey
Constructor which assumes that the cache's valueType is not serializable- Parameters:
keys- map of additional fields to the cache keytypeCode- type codetenantId- hybris tenant
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractCacheKey
-
equals
- Overrides:
equalsin classAbstractCacheKey
-
toString
- Overrides:
toStringin classAbstractCacheKey
-
getKeys
-