Uses of Interface
com.github.benmanes.caffeine.cache.Interner
Packages that use Interner
Package
Description
This package contains in-memory caching functionality.
-
Uses of Interner in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return InternerModifier and TypeMethodDescriptionstatic <E> Interner<E> Interner.newStrongInterner()Returns a new thread-safe interner that retains a strong reference to each instance it has interned, thus preventing these instances from being garbage-collected.static <E> Interner<E> Interner.newWeakInterner()Returns a new thread-safe interner that retains a weak reference to each instance it has interned, and so does not prevent these instances from being garbage-collected.