Skip to content

Documentation / @tenancy-node/core / CacheBootstrapper

Class: CacheBootstrapper ​

Defined in: core/src/cache/tenant-cache.ts:53

Entrega una TenantCache con el prefijo del tenant del contexto.

Implements ​

Constructors ​

Constructor ​

new CacheBootstrapper(store): CacheBootstrapper

Defined in: core/src/cache/tenant-cache.ts:56

Parameters ​

store ​

CacheStore

Returns ​

CacheBootstrapper

Properties ​

name ​

readonly name: "cache" = CACHE_RESOURCE

Defined in: core/src/cache/tenant-cache.ts:54

Implementation of ​

Bootstrapper.name

Methods ​

bootstrap() ​

bootstrap(tenant): TenantCache

Defined in: core/src/cache/tenant-cache.ts:58

tenant es null en el contexto central.

Parameters ​

tenant ​

Tenant | null

Returns ​

TenantCache

Implementation of ​

Bootstrapper.bootstrap

Publicado bajo la licencia MIT.