Class MediaCacheRegion
java.lang.Object
de.hybris.platform.regioncache.region.impl.AbstractMapBasedCacheRegion
de.hybris.platform.regioncache.region.impl.LRUCacheRegion
de.hybris.platform.media.storage.impl.MediaCacheRegion
- All Implemented Interfaces:
CacheRegion,UnlimitedCacheRegion
-
Field Summary
FieldsFields inherited from class de.hybris.platform.regioncache.region.impl.AbstractMapBasedCacheRegion
cacheMap, handledTypes, lifecycleCallback, name, stats, statsEnabled -
Constructor Summary
ConstructorsConstructorDescriptionMediaCacheRegion(String name, int sizeInMb, String cacheFolder, boolean statsEnabled) -
Method Summary
Modifier and TypeMethodDescriptiongetWithLoader(CacheKey key, CacheValueLoader loader) Gets value from cache.voidsetHandledTypes(String[] handledTypes) Methods inherited from class de.hybris.platform.regioncache.region.impl.LRUCacheRegion
getCacheMaxEntries, putIfAbsentMethods inherited from class de.hybris.platform.regioncache.region.impl.AbstractMapBasedCacheRegion
clearCache, containsKey, equals, get, getAllKeys, getCacheRegionStatistics, getHandledTypes, getMaxReachedSize, getName, hashCode, invalidate, isStatsEnabled, registerLifecycleCallback, remove, setStatsEnabled, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.regioncache.region.CacheRegion
clearCache, containsKey, get, getAllKeys, getCacheMaxEntries, getCacheRegionStatistics, getHandledTypes, getMaxReachedSize, getName, invalidate, isStatsEnabled, registerLifecycleCallback, remove, setStatsEnabled
-
Field Details
-
MEDIA_TYPE
- See Also:
-
-
Constructor Details
-
MediaCacheRegion
-
-
Method Details
-
setHandledTypes
- Overrides:
setHandledTypesin classAbstractMapBasedCacheRegion
-
getWithLoader
Description copied from interface:CacheRegionGets value from cache. Invokes loader if necessary. Must be thread safe.- Specified by:
getWithLoaderin interfaceCacheRegion- Overrides:
getWithLoaderin classAbstractMapBasedCacheRegion- Throws:
CacheValueLoadException
-