Package de.hybris.platform.regioncache
Interface CacheLifecycleCallback
- All Known Implementing Classes:
RegionCacheAdapter
public interface CacheLifecycleCallback
A callback interface used by
CacheController to provide notification about
important events.-
Method Summary
Modifier and TypeMethodDescriptionvoidonAfterAdd(CacheKey key, Object value, CacheRegion region) Executes after an object has been added to the cache.voidonAfterEviction(CacheKey key, Object value, CacheRegion region) Executes after an object has been evicted from the cache.voidonAfterRemove(CacheKey key, Object value, CacheRegion region) Executes after an object has been removed from the cache.voidonMissLoad(CacheKey key, Object value, CacheRegion lruCacheRegion) Executes after an object has been loaded but not added to the cache.
-
Method Details
-
onAfterAdd
Executes after an object has been added to the cache. -
onAfterRemove
Executes after an object has been removed from the cache. -
onAfterEviction
Executes after an object has been evicted from the cache. -
onMissLoad
Executes after an object has been loaded but not added to the cache.
-