MemoryCacheSettings.Builder

public class MemoryCacheSettings.Builder


A Builder for creating MemoryCacheSettings instance.

Summary

Public methods

@NonNull MemoryCacheSettings

Creates a MemoryCacheSettings instance.

@NonNull MemoryCacheSettings.Builder

Uses the given garbage collector settings to configure memory cache.

Public methods

build

public @NonNull MemoryCacheSettings build()

Creates a MemoryCacheSettings instance.

setGcSettings

public @NonNull MemoryCacheSettings.Builder setGcSettings(@NonNull MemoryGarbageCollectorSettings gcSettings)

Uses the given garbage collector settings to configure memory cache.