onEvict property

OnEvict<K, V>? onEvict
final

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;