Interface EntryEvictedListener<K,​V>

  • Type Parameters:
    K - the type of key.
    V - the type of value.
    All Superinterfaces:
    java.util.EventListener, MapListener
    All Known Subinterfaces:
    All Known Implementing Classes:
    ConsoleApp, EntryAdapter
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface EntryEvictedListener<K,​V>
    extends MapListener
    Invoked upon size-based-eviction of an entry.
    • Method Detail

      • entryEvicted

        void entryEvicted​(EntryEvent<K,​V> event)
        Invoked upon eviction of an entry.
        event - the event invoked when an entry is evicted