Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StorageCache

Initialization of the cache

Hierarchy

Index

Constructors

constructor

Properties

Protected cacheCurSizeKey

cacheCurSizeKey: string

Protected config

config: CacheConfig

Methods

configure

Protected fillCacheItem

  • produce a JSON object with meta-data and data value

    Parameters

    • key: string
    • value: any | number | string | boolean

      the value of the item

    • options: CacheItemOptions

      optional, the specified meta-data

    Returns CacheItem

    • the item which has the meta-data and the value

getModuleName

  • getModuleName(): string