MemoryEagerGarbageCollector interface
Stay organized with collections
Save and categorize content based on your preferences.
A garbage collector deletes documents whenever they are not part of any active queries, and have no local mutations attached to them.
This collector tries to ensure lowest memory footprints from the SDK, at the risk of documents not being cached for offline queries or for direct queries to the cache.
Use factory function to create an instance of this collector.
Signature:
export declare interface MemoryEagerGarbageCollector
Properties
Property |
Type |
Description |
kind |
'memoryEager' |
|
MemoryEagerGarbageCollector.kind
Signature:
kind: 'memoryEager';
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,["A garbage collector deletes documents whenever they are not part of any active queries, and have no local mutations attached to them.\n\nThis collector tries to ensure lowest memory footprints from the SDK, at the risk of documents not being cached for offline queries or for direct queries to the cache.\n\nUse factory function to create an instance of this collector.\n\n**Signature:** \n\n export declare interface MemoryEagerGarbageCollector \n\nProperties\n\nMemoryEagerGarbageCollector.kind\n\n**Signature:** \n\n kind: 'memoryEager';"]]