beforeGet method
Process the entry found in the storage before returning it. If this method returns null the entry is considered as expired and will not be returned to the caller.
Implementation
CacheEntry<K, V>? beforeGet(CacheEntry<K, V> entry) {
return entry;
}