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
public class ProductConfigurationCacheKey extends AbstractCacheKey
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
Constructors Constructor Description ProductConfigurationCacheKey(java.util.Map<java.lang.String,java.lang.String> keys, CacheUnitValueType valueType, java.lang.String typeCode, java.lang.String tenantId)
Default constructorProductConfigurationCacheKey(java.util.Map<java.lang.String,java.lang.String> keys, java.lang.String typeCode, java.lang.String tenantId)
Constructor which assumes that the cache's valueType is not serializable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Map<java.lang.String,java.lang.String>
getKeys()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
getCacheValueType, getTenantId, getTypeCode
-
-
-
-
Constructor Detail
-
ProductConfigurationCacheKey
public ProductConfigurationCacheKey(java.util.Map<java.lang.String,java.lang.String> keys, CacheUnitValueType valueType, java.lang.String typeCode, java.lang.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
public ProductConfigurationCacheKey(java.util.Map<java.lang.String,java.lang.String> keys, java.lang.String typeCode, java.lang.String tenantId)
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 Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractCacheKey
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classAbstractCacheKey
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractCacheKey
-
getKeys
public java.util.Map<java.lang.String,java.lang.String> getKeys()
-
-