Uses of Interface
com.github.benmanes.caffeine.cache.Weigher
Packages that use Weigher
-
Uses of Weigher in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement WeigherModifier and TypeClassDescription(package private) static final class
Async.AsyncWeigher<K,
V> A weigher for asynchronous computations.(package private) final class
BoundedWeigher<K,
V> (package private) enum
Fields in com.github.benmanes.caffeine.cache declared as WeigherModifier and TypeFieldDescriptionAsync.AsyncWeigher.delegate
BoundedWeigher.delegate
BoundedLocalCache.weigher
Caffeine.weigher
(package private) Weigher<?,
?> SerializationProxy.weigher
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.Caffeine.getWeigher
(boolean isAsync) 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.Constructors in com.github.benmanes.caffeine.cache with parameters of type WeigherModifierConstructorDescription(package private)
AsyncWeigher
(Weigher<K, V> delegate) (package private)
BoundedWeigher
(Weigher<? super K, ? super V> delegate)