MemoryLruGcSettings

class MemoryLruGcSettings : MemoryGarbageCollectorSettings


Configures the SDK to use a Least-Recently-Used garbage collector for memory cache.

To use, create an instance using MemoryLruGcSettings#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

Boolean
equals(o: Any!)
Int
java-static MemoryLruGcSettings.Builder

Returns a new instance of MemoryLruGcSettings.Builder with default configurations.

String

Public properties

Long

Public functions

equals

fun equals(o: Any!): Boolean

hashCode

fun hashCode(): Int

newBuilder

java-static fun newBuilder(): MemoryLruGcSettings.Builder

Returns a new instance of MemoryLruGcSettings.Builder with default configurations.

toString

fun toString(): String

Public properties

sizeBytes

val sizeBytesLong