Protected _accessPrivate _cacheProtected _cachePrivate _defaultTTLProtected _dlsPrivate _hitPrivate _missProtected _runtimePrivate _vertexTTLThis function adds an item to the cache.
User context
Module name
Key of the item
Value of the item
This function adds multiple items to the cache.
User context
Module name
Items to add to the cache
Private checkThis function checks if the user has access to the item it does this by checking the user access keys against the item access keys, it will be handled in future by OpenSearch DLS
User context
The uuid of the item to check access for
This function fetches multiple items from the cache and also returns the keys of items that are not in the cache.
ItemsResults
User context
Module name
Keys of the items to fetch
Optional validateFunction: CacheItemValidatorThis function fetches an item from the cache. If the item is not in the cache, it will be fetched from the database and added to the cache.
Cached item or null
User context
Module name Vertex / AccessKey
Unique key of the item
Optional fetchFunction: ((...args: any[]) => Promise<T>)Function to fetch the item.
Rest ...args: any[]Optional validateFunction: CacheItemValidatorThis function generates a cache key for the item.
The cache key
User context
Module name
Unique key of the item
Generated using TypeDoc
Constructs DataCache service object.