Interface CacheEntryInvalidatedEvent<K,​V>

  • All Superinterfaces:
    CacheEntryEvent<K,​V>, Event<K,​V>, TransactionalEvent<K,​V>
    All Known Implementing Classes:
    EventImpl

    public interface CacheEntryInvalidatedEvent<K,​V>
    extends CacheEntryEvent<K,​V>
    Notifies a listener of an invalidation event.

    Eviction has no notion of pre/post event since 4.2.0.ALPHA4. This event is only raised once after the eviction has occurred with the pre event flag being false.

    Since:
    4.0
    Author:
    Manik Surtani
    • Method Detail

      • getValue

        V getValue()
        Retrieves the value of the entry being invalidated.
        Specified by:
        getValue in interface CacheEntryEvent<K,​V>
        Returns:
        the value of the invalidated entry