Interface CacheEntryRemovedListener<K,​V>

    • Method Detail

      • onEntryRemoved

        void onEntryRemoved​(Cache<K,​V> cache,
                            CacheEntry<K,​V> entry)
                     throws Exception
        Called after the removal of a cache entry and after all cache writers ran successfully.

        Exceptions thrown by asynchronous listeners will be propagated to the cache client directly.

        cache - The cache that generated the event.
        entry - Entry containing the last data. It is only valid to access the object during the call of this method. The object value may become invalid afterwards.