beforeGet method

CacheEntry<K, V>? beforeGet(
  1. CacheEntry<K, V> entry
)
inherited

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;
}