new CacheFacade(): CacheFacade
Returns:
CacheFacadeM
get
get(identifier, etag, callback): void
Attributes
Returns value.
getChildCache(name): CacheFacade
Attributes
name:
stringReturns:
CacheFacadeReturns child cache.
getItemCache(identifier, etag): ItemCacheFacade
Attributes
Returns item cache.
getLazyHashedEtag(obj): Etag
Attributes
obj:
HashableObjectReturns:
EtagGets lazy hashed etag.
getPromise(identifier, etag): Promise<T>
Attributes
Returns promise with the data.
isEnabled(): boolean
Returns:
booleanReturns whether a cache backend is active.
mergeEtags(a, b): Etag
Attributes
Merges the provided values into a single result.
provide(identifier, etag, computer, callback): void
Attributes
identifier:
stringcomputer:
(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): void
Attributes
Processes the provided identifier.
storePromise(identifier, etag, data): Promise<void>
Attributes
Stores the provided identifier.
Attributes