IMQCache class
Process-wide static registry of cache adapters.
Signature:
export declare class IMQCache
Remarks
All state is static and shared by every consumer in the process; there is no instance form and no way to unregister or reset an adapter. Adapters are keyed by name, so a single adapter class can only be registered once — two different configurations of the same class cannot coexist.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
{ [name: string]: ICache; } |
The registry of adapter instances, keyed by adapter name. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Overrides existing adapter options with the given ones. | |
|
|
Returns a registered cache adapter by its given name or class. | |
|
|
Initializes all registered cache adapters. | |
|
|
Registers the given cache adapter. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.