onEvict property
if onEvict is set that method is called whenever an entry is removed from the cache. At the time the method is called the entry is already removed.
Implementation
final OnEvict<K, V>? onEvict;
if onEvict is set that method is called whenever an entry is removed from the cache. At the time the method is called the entry is already removed.
final OnEvict<K, V>? onEvict;