MemoryCacheSettings interface

An settings object to configure an MemoryLocalCache instance.

Signature:

export declare interface MemoryCacheSettings 

Properties

Property Type Description
garbageCollector MemoryGarbageCollector The garbage collector to use, for the memory cache layer. A MemoryEagerGarbageCollector is used when this is undefined.

MemoryCacheSettings.garbageCollector

The garbage collector to use, for the memory cache layer. A MemoryEagerGarbageCollector is used when this is undefined.

Signature:

garbageCollector?: MemoryGarbageCollector;