Skip to content

@sourceloop/cache / Exports / CacheManager

Class: CacheManager

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new CacheManager()

Properties

options

Static options: CachePluginComponentOptions = DEFAULT_CACHE_PLUGIN_OPTIONS

Defined in

mixins/cache.mixin.ts:28

Methods

CacheRepositoryMixin

Static CacheRepositoryMixin<M, ID, Relations, R>(baseClass, cacheOptions): R & AbstractConstructor<ICacheMixin<M, ID>>

Type parameters

Name Type
M extends Entity<M>
ID ID
Relations extends object
R extends CacheMixinBase<M, ID, Relations>

Parameters

Name Type
baseClass R
cacheOptions Partial<CachePluginComponentOptions>

Returns

R & AbstractConstructor<ICacheMixin<M, ID>>

Defined in

mixins/cache.mixin.ts:31