Protected constructorProtected
Protected constructor -> use CacheService.create() WARN! - do not create directly.˜
cache backend object
Optional params: { maker?: CacheKeyMakable; ns?: string; options?: CacheOptions }params to create service.
Optional maker?: CacheKeyMakablecustom key-maker
Optional ns?: string(optional) namespace of cache key (default: '')
Optional options?: CacheOptions(optional) the final options to create()
Readonly makermaker of cache-key
Readonly nsNamespace of cache key
Readonly optionsthe final options to create this service.
Static Readonly DEF_Default cache timeout
Static Readonly ENV_Environment variable name for default cache timeout
Static Readonly ENV_Environment variable name for cache server endpoint
Static Private backendSingleton node-cache backend
Protected asfor convient, make another typed service.
type into key automatically.the typed CacheService
model-type like 'test'
(optional) delim bewteen type and key (default ':')
Get multiple keys
Store multiple keys
true on success
Static createFactory method
Optional options: CacheOptions(optional) cache options
Generated using TypeDoc
class
DummyCacheService: use 'node-cache' library