Interface CacheKey
- All Known Subinterfaces:
RegistrableCacheKey<T>
- All Known Implementing Classes:
AbstractCacheKey,AbstractLegacyRegistrableCacheKey,AbstractRegioncacheRegistrableUnit,AbstractRegioncacheUnit,AbstractRegistrableCacheKey,C2LManager.C2LCacheKey,CmsCacheKey,CsrfParametersCacheKey,DefaultAsCacheStrategy.HybrisAsCacheKey,DefaultDeletedItemCacheKey,DefaultLocalMediaFileCacheService.MediaCacheKey,FacetSearchConfigCacheKey,FinderResult.FinderResultCacheKey,FlexibleSearch.FlexibleSearchCacheKey,FlexibleSearch.FlexibleSearchTypeGenIgnoreCacheKey,JaloTypeCacheUnit.JaloTypeCacheKey,LegacyCacheKey,ModelScriptCacheKey,ObjectCacheKey,ProductConfigurationCacheKey,ProductConfigurationEHCacheAccessImplTest.StringCacheKey,RelationCacheKey,RenderingCacheKey,SimpleScriptCacheKey,TestCacheKey,TestCacheKeyFactory.TestLegacyCacheKeyWithLoader,TestLoadableRegistrableCacheTestKey,TestRegistrableCacheKey,WebhookDeletedItemCacheKey
public interface CacheKey
Interface 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:
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
Modifier and TypeMethodDescriptiongets value type.Gets tenantGets code from typesystem.
-
Method Details
-
getCacheValueType
CacheUnitValueType getCacheValueType()gets value type. Currently not used. To be used in hybris 5. -
getTypeCode
Object getTypeCode()Gets code from typesystem. -
getTenantId
String getTenantId()Gets tenant
-