onEvict property

OnEvict<K, V>? onEvict
getter/setter pair

if onEvict is set that method is called whenever an entry is removed from the queue. At the time the method is called the entry is already removed.

Implementation

OnEvict<K, V>? onEvict;