Uses of Interface
com.github.benmanes.caffeine.cache.Weigher
-
Packages that use Weigher Package Description com.github.benmanes.caffeine.cache This package contains caching utilities. -
-
Uses of Weigher in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement Weigher Modifier and Type Class Description (package private) static classAsync.AsyncWeigher<K,V>A weigher for asynchronous computations.(package private) classBoundedWeigher<K,V>(package private) classSingletonWeigherFields in com.github.benmanes.caffeine.cache declared as Weigher Modifier and Type Field Description (package private) Weigher<K,V>Async.AsyncWeigher. delegate(package private) Weigher<? super K,? super V>BoundedWeigher. delegate(package private) Weigher<K,V>BoundedLocalCache. weigher(package private) Weigher<? super K,? super V>Caffeine. weigher(package private) Weigher<?,?>SerializationProxy. weigherMethods in com.github.benmanes.caffeine.cache that return Weigher Modifier and Type Method Description static <K,V>
Weigher<K,V>Weigher. boundedWeigher(Weigher<K,V> delegate)Returns a weigher that enforces that the weight is non-negative.(package private) <K1 extends K,V1 extends V>
Weigher<K1,V1>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 Weigher Modifier and Type Method Description static <K,V>
Weigher<K,V>Weigher. boundedWeigher(Weigher<K,V> delegate)Returns a weigher that enforces that the weight is non-negative.<K1 extends K,V1 extends V>
Caffeine<K1,V1>Caffeine. weigher(Weigher<? super K1,? super V1> weigher)Specifies the weigher to use in determining the weight of entries.Constructors in com.github.benmanes.caffeine.cache with parameters of type Weigher Constructor Description AsyncWeigher(Weigher<K,V> delegate)BoundedWeigher(Weigher<? super K,? super V> delegate)
-