Class TestCacheKey
- java.lang.Object
-
- de.hybris.platform.regioncache.key.AbstractCacheKey
-
- de.hybris.platform.regioncache.test.TestCacheKey
-
- All Implemented Interfaces:
CacheKey
public class TestCacheKey extends AbstractCacheKey
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
cachedHash, tenantId, typeCode, valueType
-
-
Constructor Summary
Constructors Constructor Description TestCacheKey(java.lang.Object keyName)TestCacheKey(java.lang.Object keyName, CacheUnitValueType unitType, java.lang.String typeCode)TestCacheKey(java.lang.Object keyName, java.lang.String tenant, CacheUnitValueType unitType, java.lang.String typeCode)TestCacheKey(java.lang.String keyName, CacheUnitValueType unitType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.ObjectgetKeyName()inthashCode()java.lang.StringtoString()-
Methods inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
getCacheValueType, getTenantId, getTypeCode
-
-
-
-
Constructor Detail
-
TestCacheKey
public TestCacheKey(java.lang.Object keyName)
-
TestCacheKey
public TestCacheKey(java.lang.String keyName, CacheUnitValueType unitType)
-
TestCacheKey
public TestCacheKey(java.lang.Object keyName, CacheUnitValueType unitType, java.lang.String typeCode)
-
TestCacheKey
public TestCacheKey(java.lang.Object keyName, java.lang.String tenant, CacheUnitValueType unitType, java.lang.String typeCode)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractCacheKey
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractCacheKey
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractCacheKey
-
getKeyName
public java.lang.Object getKeyName()
- Returns:
- the keyName
-
-