Class DummyCacheService

class DummyCacheService: use 'node-cache' library

Hierarchy

Constructors

Properties

maker of cache-key

ns: string

Namespace of cache key

options: CacheOptions

the final options to create this service.

DEF_CACHE_DEFAULT_TIMEOUT: number = ...

Default cache timeout

Static

ENV_CACHE_DEFAULT_TIMEOUT: "CACHE_DEFAULT_TIMEOUT" = 'CACHE_DEFAULT_TIMEOUT'

Environment variable name for default cache timeout

Static

ENV_CACHE_ENDPOINT: "CACHE_ENDPOINT" = 'CACHE_ENDPOINT'

Environment variable name for cache server endpoint

Static

backend: NodeCacheBackend

Singleton node-cache backend

Static

Methods

Generated using TypeDoc