onEvict property
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;
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.
OnEvict<K, V>? onEvict;