Interface CacheKey
-
- All Known Subinterfaces:
RegistrableCacheKey<T>
- All Known Implementing Classes:
AbstractCacheKey,AbstractLegacyRegistrableCacheKey,AbstractRegioncacheRegistrableUnit,AbstractRegioncacheUnit,AbstractRegistrableCacheKey,C2LManager.C2LCacheKey,DefaultAsCacheStrategy.HybrisAsCacheKey,DefaultCmsCacheKeyProvider.CmsCacheKey,DefaultLocalMediaFileCacheService.MediaCacheKey,FacetSearchConfigCacheKey,FinderResult.FinderResultCacheKey,FlexibleSearch.FlexibleSearchCacheKey,GenericCacheKey,JaloTypeCacheUnit.JaloTypeCacheKey,JCoManagedFunctionCacheKey,LegacyCacheKey,ModelScriptCacheKey,ProductConfigurationCacheKey,ProductConfigurationEHCacheAccessImplTest.StringCacheKey,SimpleScriptCacheKey,TestCacheKey,TestCacheKeyFactory.TestLegacyCacheKeyWithLoader,TestLoadableRegistrableCacheTestKey,TestRegistrableCacheKey
public interface CacheKeyInterface used as a base class for regioncache keys.
CacheKey can mark associated value as serializable or nor (CacheUnitType).
CacheKey carries information of type code (String).
Known implementations:- LegacyCacheKey: used to convert between Object[] and CacheKey
- RegistrableCacheKey: used to mark a cache unit as using cache registry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheUnitValueTypegetCacheValueType()gets value type.java.lang.StringgetTenantId()Gets tenantjava.lang.ObjectgetTypeCode()Gets code from typesystem.
-
-
-
Method Detail
-
getCacheValueType
CacheUnitValueType getCacheValueType()
gets value type. Currently not used. To be used in hybris 5.
-
getTypeCode
java.lang.Object getTypeCode()
Gets code from typesystem.
-
getTenantId
java.lang.String getTenantId()
Gets tenant
-
-