MemoryEagerGcSettings

class MemoryEagerGcSettings : MemoryGarbageCollectorSettings


Configures the SDK to use an eager garbage collector for memory cache. The eager garbage collector will attempt to remove any documents from SDK's memory cache as soon as it is no longer used.

This is the default garbage collector unless specified explicitly otherwise.

To use, create an instance using MemoryEagerGcSettings#newBuilder().build(), then set the instance to MemoryCacheSettings.Builder#setGcSettings, and use the built MemoryCacheSettings instance to configure the Firestore SDK.

Summary

Nested types

Public functions

equals

fun equals(obj: Any?): Boolean

hashCode

fun hashCode(): Int

newBuilder

java-static fun newBuilder(): MemoryEagerGcSettings.Builder

toString

fun toString(): String