public class BaseCacheYFastFIFOMapStub<K> extends YFastFIFOMap<K,AbstractCacheUnit>
YMap.ClearHandler<K1,V1>delegateMap| Constructor and Description |
|---|
BaseCacheYFastFIFOMapStub(de.hybris.platform.cache.CacheBaseStub cacheBase,
int max) |
| Modifier and Type | Method and Description |
|---|---|
void |
processDisplacedEntry(java.lang.Object key,
AbstractCacheUnit value)
do something before a entry is displaced because the map is growing to big (if an entry is added and size() is
getting bigger as maxSize()), this method will be called before an old entry is being removed
|
createMapInstance, getMaxReachedSize, maxSize, processRemoveEldest, synchronizeExternalclear, clear, containsKey, getEntry, getEntry, put, putAll, removecontainsValue, entrySet, equals, get, hashCode, isEmpty, keySet, size, toString, valuespublic BaseCacheYFastFIFOMapStub(de.hybris.platform.cache.CacheBaseStub cacheBase,
int max)
public void processDisplacedEntry(java.lang.Object key,
AbstractCacheUnit value)
CacheMapprocessDisplacedEntry in interface CacheMap<K,AbstractCacheUnit>processDisplacedEntry in class YFastFIFOMap<K,AbstractCacheUnit>Copyright © 2018 SAP SE. All Rights Reserved.