Interface EntryLoadedListener<K,V>

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

@FunctionalInterface public interface EntryLoadedListener<K,V> extends MapListener
Invoked upon load of an entry.

EntryLoadedListener is notified upon load of an entry by a MapLoader. By using this listener and EntryAddedListener, one can distinguish an application put from map-loader load.

Since:
3.11
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked upon load of an entry.
  • Method Details

    • entryLoaded

      void entryLoaded(EntryEvent<K,V> event)
      Invoked upon load of an entry.
      Parameters:
      event - the event invoked when an entry is loaded