Uses of Interface
com.github.benmanes.caffeine.cache.Weigher
Packages that use Weigher
Package
Description
This package contains caching utilities.
-
Uses of Weigher in com.github.benmanes.caffeine.cache
Methods in com.github.benmanes.caffeine.cache that return WeigherModifier and TypeMethodDescriptionstatic <K,V> @NonNull Weigher <K, V> Weigher.boundedWeigher(@NonNull Weigher<K, V> delegate) Returns a weigher that enforces that the weight is non-negative.static <K,V> @NonNull 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> @NonNull Weigher <K, V> Weigher.boundedWeigher(@NonNull 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. -
Uses of Weigher in com.github.benmanes.caffeine.jcache.configuration
Methods in com.github.benmanes.caffeine.jcache.configuration that return types with arguments of type WeigherModifier and TypeMethodDescriptionCaffeineConfiguration.getWeigherFactory()Returns theFactoryfor theWeigherto be used for the cache.Method parameters in com.github.benmanes.caffeine.jcache.configuration with type arguments of type Weigher