This method reports any issues with lock validity, but allows operations to proceed anyway.
Clear all items in the cache.
Delete an item from the cache.
Cache key
Whether to check for a lock
Retrieve a value from the cache
Cache key
Whether to check for a lock
The value that exists in the cache, or undefined.
Whether the given key exists in the cache.
NOTE: This does not check for locking, unlike the other methods.
Cache key
Whether the key exists in the cache.
Acquire a lock against a particular key in the cache.
Cache key
Whether the lock requestor will write to the cache using this lock.
A promise that resolves to a unique numeric ID associated with the lock.
Insert an item into the cache.
Cache key
Value to insert
Whether to check for a lock
Release a lock, allowing other requestors to make changes to the cache.
Cache key
The ID of the lock to release
Generated using TypeDoc
A locking, generic cache; used by StaticCache and the query Cache.
Cache
K Key type
T Cache data type. For good null hygiene, make sure this does not include the
undefined
orvoid
types!