The reason why an item was removed from the cache, passed to the Disposer methods.
evict
set
delete
expire
fetch
undefined
The reason why an item was removed from the cache, passed to the Disposer methods.
evict
: The item was evicted because it is the least recently used, and the cache is full.set
: A new value was set, overwriting the old value being disposed.delete
: The item was explicitly deleted, either by calling LRUCache#delete, LRUCache#clear, or LRUCache#set with an undefined value.expire
: The item was removed due to exceeding its TTL.fetch
: A OptionsBase#fetchMethod operation returnedundefined
or was aborted, causing the item to be deleted.