Package de.hybris.platform.regioncache
Interface CacheLifecycleCallback
-
- All Known Implementing Classes:
RegionCacheAdapter
public interface CacheLifecycleCallbackA callback interface used byCacheControllerto provide notification about important events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAfterAdd(CacheKey key, java.lang.Object value, CacheRegion region)Executes after an object has been added to the cache.voidonAfterEviction(CacheKey key, java.lang.Object value, CacheRegion region)Executes after an object has been evicted from the cache.voidonAfterRemove(CacheKey key, java.lang.Object value, CacheRegion region)Executes after an object has been removed from the cache.voidonMissLoad(CacheKey key, java.lang.Object value, CacheRegion lruCacheRegion)Executes after an object has been loaded but not added to the cache.
-
-
-
Method Detail
-
onAfterAdd
void onAfterAdd(CacheKey key, java.lang.Object value, CacheRegion region)
Executes after an object has been added to the cache.
-
onAfterRemove
void onAfterRemove(CacheKey key, java.lang.Object value, CacheRegion region)
Executes after an object has been removed from the cache.
-
onAfterEviction
void onAfterEviction(CacheKey key, java.lang.Object value, CacheRegion region)
Executes after an object has been evicted from the cache.
-
onMissLoad
void onMissLoad(CacheKey key, java.lang.Object value, CacheRegion lruCacheRegion)
Executes after an object has been loaded but not added to the cache.
-
-