MemoryCacheSettings interface
Stay organized with collections
Save and categorize content based on your preferences.
An settings object to configure an MemoryLocalCache
instance.
Signature:
export declare interface MemoryCacheSettings
Properties
MemoryCacheSettings.garbageCollector
The garbage collector to use, for the memory cache layer. A MemoryEagerGarbageCollector
is used when this is undefined.
Signature:
garbageCollector?: MemoryGarbageCollector;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-27 UTC.
[null,null,["Last updated 2023-04-27 UTC."],[],[],null,["# MemoryCacheSettings interface\n\nAn settings object to configure an `MemoryLocalCache` instance.\n\n**Signature:** \n\n export declare interface MemoryCacheSettings \n\nProperties\n----------\n\n| Property | Type | Description |\n|---------------------------------------------------------------------------------------------|------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| [garbageCollector](./firestore_.memorycachesettings.md#memorycachesettingsgarbagecollector) | [MemoryGarbageCollector](./firestore_.md#memorygarbagecollector) | The garbage collector to use, for the memory cache layer. A `MemoryEagerGarbageCollector` is used when this is undefined. |\n\nMemoryCacheSettings.garbageCollector\n------------------------------------\n\nThe garbage collector to use, for the memory cache layer. A `MemoryEagerGarbageCollector` is used when this is undefined.\n\n**Signature:** \n\n garbageCollector?: MemoryGarbageCollector;"]]