public class MediaCacheRegion extends LRUCacheRegion implements UnlimitedCacheRegion
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
cacheMap, handledTypes, lifecycleCallback, name, stats, statsEnabled| Constructor and Description |
|---|
MediaCacheRegion(String name,
int sizeInMb,
String cacheFolder,
boolean statsEnabled) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getWithLoader(CacheKey key,
CacheValueLoader loader)
Gets value from cache.
|
void |
setHandledTypes(String[] handledTypes) |
getCacheMaxEntries, putIfAbsentclearCache, containsKey, equals, get, getAllKeys, getCacheRegionStatistics, getHandledTypes, getMaxReachedSize, getName, hashCode, invalidate, isStatsEnabled, registerLifecycleCallback, remove, setStatsEnabled, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitclearCache, containsKey, get, getAllKeys, getCacheMaxEntries, getCacheRegionStatistics, getHandledTypes, getMaxReachedSize, getName, invalidate, isStatsEnabled, registerLifecycleCallback, remove, setStatsEnabledpublic static final String MEDIA_TYPE
public void setHandledTypes(String[] handledTypes)
setHandledTypes in class AbstractMapBasedCacheRegionpublic Object getWithLoader(CacheKey key, CacheValueLoader loader) throws CacheValueLoadException
CacheRegiongetWithLoader in interface CacheRegiongetWithLoader in class AbstractMapBasedCacheRegionCacheValueLoadExceptionCopyright © 2017 SAP SE. All Rights Reserved.