MemoryCacheSettings.Builder

public class MemoryCacheSettings.Builder


A Builder for creating MemoryCacheSettings instance.

Summary

Public methods

@NonNullMemoryCacheSettings

Creates a MemoryCacheSettings instance.

@NonNullMemoryCacheSettings.Builder

Uses the given garbage collector settings to configure memory cache.

Public methods

build

public @NonNullMemoryCacheSettings build()

Creates a MemoryCacheSettings instance.

setGcSettings

public @NonNullMemoryCacheSettings.Builder setGcSettings(@NonNullMemoryGarbageCollectorSettings gcSettings)

Uses the given garbage collector settings to configure memory cache.