Uses of Interface
com.github.benmanes.caffeine.cache.Weigher
Packages that use Weigher
Package
Description
This package contains in-memory caching functionality.
-
Uses of Weigher in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return WeigherModifier and TypeMethodDescriptionstatic <K,V> Weigher <K, V> Weigher.boundedWeigher(Weigher<K, V> delegate) Returns a weigher that enforces that the weight is non-negative.static <K,V> Weigher <K, V> Weigher.singletonWeigher()Returns a weigher where an entry has a weight of1.Methods in com.github.benmanes.caffeine.cache with parameters of type WeigherModifier and TypeMethodDescriptionstatic <K,V> Weigher <K, V> Weigher.boundedWeigher(Weigher<K, V> delegate) Returns a weigher that enforces that the weight is non-negative.Specifies the weigher to use in determining the weight of entries.