An in-memory implementation of the Cache. This is the default implementation for compatibility, but applications should switch to a persistent-backed cache driver.
Static
Private
Static collection of in-memory arrays.
Static collection of in-memory cache items.
Remove and return an item from the beginning of an array-like key.
Push an item onto the end an array-like key.
Decrement a key in the cache by a given amount.
Drop the given key from the cache.
Fetch a value from the cache by its key.
Promise<any|undefined>
Check if the cache has the given key.
Promise
Increment a key in the cache by a given amount.
Fetch an item from the cache by key, and then remove it.
Store the given value in the cache by key.
Optional
Fetch a value from the cache by its key as a Safe value.
An in-memory implementation of the Cache. This is the default implementation for compatibility, but applications should switch to a persistent-backed cache driver.