new CacheFacade(): CacheFacadeReturns:
CacheFacadeM
get
get(identifier, etag, callback): voidAttributes
Returns value.
getChildCache(name): CacheFacadeAttributes
name:
stringReturns:
CacheFacadeReturns child cache.
getItemCache(identifier, etag): ItemCacheFacadeAttributes
Returns item cache.
getLazyHashedEtag(obj): EtagAttributes
obj:
HashableObjectReturns:
EtagGets lazy hashed etag.
getPromise(identifier, etag): Promise<T>Attributes
Returns promise with the data.
mergeEtags(a, b): EtagAttributes
Merges the provided values into a single result.
provide(identifier, etag, computer, callback): voidAttributes
identifier:
stringetag:
Etag | nullcomputer:
(callback: CallbackNormalErrorCache<T>) => voidcallback:
CallbackNormalErrorCache<T>Returns:
voidProcesses the provided identifier.
providePromise(identifier, etag, computer): Promise<T>Attributes
Returns promise with the data.
store(identifier, etag, data, callback): voidAttributes
Processes the provided identifier.
storePromise(identifier, etag, data): Promise<void>Attributes
Stores the provided identifier.
Attributes