Interface RegistrableCacheKey<T>
-
- All Superinterfaces:
CacheKey
- All Known Implementing Classes:
AbstractLegacyRegistrableCacheKey,AbstractRegioncacheRegistrableUnit,AbstractRegistrableCacheKey,C2LManager.C2LCacheKey,FinderResult.FinderResultCacheKey,FlexibleSearch.FlexibleSearchCacheKey,JaloTypeCacheUnit.JaloTypeCacheKey,TestLoadableRegistrableCacheTestKey,TestRegistrableCacheKey
public interface RegistrableCacheKey<T> extends CacheKey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long[]getDependentTypeGenerations()gets last versions of the corresponding type fromgetDependentTypes()T[]getDependentTypes()All registrable units should define dependent types.
In case of invalidation of one of the dependent type registrable cache unit gets invalidated too.voidsetDependentTypeGenerations(long[] dependentTypeGeneration)lazily loaded generation-
Methods inherited from interface de.hybris.platform.regioncache.key.CacheKey
getCacheValueType, getTenantId, getTypeCode
-
-
-
-
Method Detail
-
getDependentTypes
T[] getDependentTypes()
All registrable units should define dependent types.
In case of invalidation of one of the dependent type registrable cache unit gets invalidated too.
-
getDependentTypeGenerations
long[] getDependentTypeGenerations()
gets last versions of the corresponding type fromgetDependentTypes()
-
setDependentTypeGenerations
void setDependentTypeGenerations(long[] dependentTypeGeneration)
lazily loaded generation
-
-