Home > @imqueue/rpc > IMQCache

IMQCache class

Generic cache registry

Signature:

export declare class IMQCache 

Properties

Property

Modifiers

Type

Description

adapters

static

{ [name: string]: ICache; }

Methods

Method

Modifiers

Description

apply(adapter, options)

static

Overrides existing adapter options with the given ones.

get(adapter)

static

Returns a registered cache adapter by its given name or class.

init()

static

Initializes all registered cache adapters.

register(adapter, options)

static

Registers the given cache adapter.