Interface CacheLifecycleCallback

All Known Implementing Classes:
RegionCacheAdapter

public interface CacheLifecycleCallback
A callback interface used by CacheController to provide notification about important events.
  • Method Details

    • onAfterAdd

      void onAfterAdd(CacheKey key, Object value, CacheRegion region)
      Executes after an object has been added to the cache.
    • onAfterRemove

      void onAfterRemove(CacheKey key, Object value, CacheRegion region)
      Executes after an object has been removed from the cache.
    • onAfterEviction

      void onAfterEviction(CacheKey key, Object value, CacheRegion region)
      Executes after an object has been evicted from the cache.
    • onMissLoad

      void onMissLoad(CacheKey key, Object value, CacheRegion lruCacheRegion)
      Executes after an object has been loaded but not added to the cache.