MemoryCacheSettings.Builder

class MemoryCacheSettings.Builder


A Builder for creating MemoryCacheSettings instance.

Summary

Public functions

MemoryCacheSettings

Creates a MemoryCacheSettings instance.

MemoryCacheSettings.Builder

Uses the given garbage collector settings to configure memory cache.

Public functions

build

fun build(): MemoryCacheSettings

Creates a MemoryCacheSettings instance.

setGcSettings

fun setGcSettings(gcSettings: MemoryGarbageCollectorSettings): MemoryCacheSettings.Builder

Uses the given garbage collector settings to configure memory cache.