Interface CacheEntryExpiredListener<K,​V>

    • Method Detail

      • onEntryExpired

        void onEntryExpired​(Cache<K,​V> cache,
                            CacheEntry<K,​V> entry)
                     throws Exception
        Called after the expiry of an entry.
        Parameters:
        cache - Reference to 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.
        Throws:
        Exception