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
Classes in com.github.benmanes.caffeine.cache that implement WeigherModifier and TypeClassDescription(package private) static final classAsync.AsyncWeigher<K,V> A weigher for asynchronous computations.(package private) final classBoundedWeigher<K,V> (package private) enumFields in com.github.benmanes.caffeine.cache declared as WeigherModifier and TypeFieldDescriptionAsync.AsyncWeigher.delegateBoundedWeigher.delegateBoundedLocalCache.weigherCaffeine.weigher(package private) @Nullable Weigher<?, ?> SerializationProxy.weigherMethods 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.Caffeine.getWeigher(boolean isAsync) 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.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) -
Uses of Weigher in com.github.benmanes.caffeine.jcache.configuration
Fields in com.github.benmanes.caffeine.jcache.configuration with type parameters of type WeigherMethods 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