Class TestLoadableRegistrableCacheTestKey
java.lang.Object
de.hybris.platform.regioncache.key.AbstractCacheKey
de.hybris.platform.regioncache.key.AbstractRegistrableCacheKey
de.hybris.platform.regioncache.test.TestLoadableRegistrableCacheTestKey
- All Implemented Interfaces:
CacheValueLoader,CacheKey,RegistrableCacheKey<String>
public class TestLoadableRegistrableCacheTestKey
extends AbstractRegistrableCacheKey
implements CacheValueLoader
-
Field Summary
Fields inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
cachedHash, tenantId, typeCode, valueType -
Constructor Summary
ConstructorsConstructorDescriptionTestLoadableRegistrableCacheTestKey(String tenantId, String[] dependentTypes) -
Method Summary
Methods inherited from class de.hybris.platform.regioncache.key.AbstractRegistrableCacheKey
getDependentTypeGenerations, getDependentTypes, getTypeCode, setDependentTypeGenerationsMethods inherited from class de.hybris.platform.regioncache.key.AbstractCacheKey
getCacheValueType, getTenantIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.regioncache.key.CacheKey
getCacheValueType, getTenantId
-
Constructor Details
-
TestLoadableRegistrableCacheTestKey
-
-
Method Details
-
load
Description copied from interface:CacheValueLoaderUsed by cache region to load missing value.
This method does not have to be thread safe.
If CacheValueLoadException thrown unit is not added to cache.- Specified by:
loadin interfaceCacheValueLoader- Throws:
CacheValueLoadException
-
toString
- Overrides:
toStringin classAbstractRegistrableCacheKey
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractCacheKey
-
equals
- Overrides:
equalsin classAbstractCacheKey
-