Package de.hybris.platform.regioncache
Interface CacheValueLoader<V>
-
- All Known Implementing Classes:
AbstractCacheUnit,AbstractRegioncacheRegistrableUnit,AbstractRegioncacheUnit,AnonymousCacheUnit,CustomCacheUnit,CustomCacheUnit,DefaultFacetSearchConfigCacheValueLoader,DefaultScriptingLanguagesService.URIScriptExecutableLoader,DefaultSLDDataContainerProvider.SLDItemBulkLoadUnit,DefaultSLDDataContainerProvider.SLDItemLoadUnit,FinderResult,GenericBMPBean.GenericItemEntityStateCacheUnit,IsItemAliveCheckUnit,JaloItemCacheUnit,JaloTypeCacheUnit,JCoFunctionLoader,KnowledgeBaseContainerCacheValueLoader,KnowledgeBaseHeadersCacheValueLoader,RestTemplateCacheValueLoader,SLDPermissionManagementStrategy.AclCacheUnit,TestCacheKeyFactory.TestLegacyCacheKeyWithLoader,TestCacheValueLoader,TestLoadableRegistrableCacheTestKey,WrapperFactory.PrecomputedJaloItemCacheUnit
public interface CacheValueLoader<V>Used by cache region to load missing value.
This method does not have to be thread safe.
Currently used by AbstractCacheUnit.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vload(CacheKey key)Used 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.
-
-
-
Method Detail
-
load
V load(CacheKey key) throws CacheValueLoadException
Used 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.- Throws:
CacheValueLoadException
-
-