NullCacheAdapter
Implements
Index
Constructors
Methods
Constructors
constructor
Returns NullCacheAdapter
Methods
clear
Clears all items stored in the cache.
Returns void
get
Gets the items under
namekey from the cache. Whenoriginis provided, adapters that track the entry origin should ignore entries cached from a different source file.Parameters
name: string
Returns any
remove
Removes the item from cache.
Parameters
name: string
Returns void
set
Sets the item to the cache.
originis used for cache invalidation and should reflect the change in data.Parameters
name: string
data: any
origin: string
Returns void
No-op cache adapter that never stores or returns any data. Used to disable caching.