Class AbstractRegioncacheUnit
java.lang.Object
de.hybris.platform.regioncache.key.legacy.AbstractRegioncacheUnit
- All Implemented Interfaces:
CacheValueLoader,CacheKey
@Deprecated(since="5.0",
forRemoval=true)
public abstract class AbstractRegioncacheUnit
extends Object
implements CacheKey, CacheValueLoader
Deprecated, for removal: This API element is subject to removal in a future version.
since 5.0 this was used as utility class , favor now LegacyCacheKeyTypeUtil
Adds CacheKey support to AbstractCacheUnit
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidDeprecated, for removal: This API element is subject to removal in a future version.static ObjectcalculateKeyCode(Object[] key) Deprecated, for removal: This API element is subject to removal in a future version.final CacheUnitValueTypeDeprecated, for removal: This API element is subject to removal in a future version.gets value type.final CacheKeygetKey()Deprecated, for removal: This API element is subject to removal in a future version.CacheKey interface implementationabstract Object[]Deprecated, for removal: This API element is subject to removal in a future version.AbstractCacheUnit methodsfinal CacheValueLoaderDeprecated, for removal: This API element is subject to removal in a future version.final StringDeprecated, for removal: This API element is subject to removal in a future version.Gets tenantabstract StringDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets code from typesystem.final ObjectDeprecated, for removal: This API element is subject to removal in a future version.We do not perform compute not to hit database several times from different threads.
Another reason is to keep lifecycle of hooks in the same order.toString()Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
typeCode
Deprecated, for removal: This API element is subject to removal in a future version.Each key has value and type. This field keeps type. -
cacheKey
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
AbstractRegioncacheUnit
public AbstractRegioncacheUnit()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getKeyAsArray
Deprecated, for removal: This API element is subject to removal in a future version.AbstractCacheUnit methods -
addedToCacheBeforeComputation
public abstract void addedToCacheBeforeComputation()Deprecated, for removal: This API element is subject to removal in a future version. -
getTenantID
Deprecated, for removal: This API element is subject to removal in a future version. -
load
Deprecated, for removal: This API element is subject to removal in a future version.We do not perform compute not to hit database several times from different threads.
Another reason is to keep lifecycle of hooks in the same order. addedToCacheBeforeComputation() is called here other callbacks in the RegionCacheAdapter.- Specified by:
loadin interfaceCacheValueLoader- Throws:
CacheValueLoadException
-
getLoader
Deprecated, for removal: This API element is subject to removal in a future version. -
getKey
Deprecated, for removal: This API element is subject to removal in a future version.CacheKey interface implementation -
getTenantId
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CacheKeyGets tenant- Specified by:
getTenantIdin interfaceCacheKey
-
getTypeCode
Deprecated, for removal: This API element is subject to removal in a future version.Gets code from typesystem.- Specified by:
getTypeCodein interfaceCacheKey
-
getCacheValueType
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CacheKeygets value type. Currently not used. To be used in hybris 5.- Specified by:
getCacheValueTypein interfaceCacheKey
-
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
calculateKeyCode
Deprecated, for removal: This API element is subject to removal in a future version.
-