Uses of Class
org.apache.juneau.commons.collections.Cache3.Builder
Packages that use Cache3.Builder
Package
Description
Enhanced collection utilities that extend the standard Java Collections Framework with fluent APIs,
specialized collection types, and caching capabilities.
-
Uses of Cache3.Builder in org.apache.juneau.commons.collections
Methods in org.apache.juneau.commons.collections that return Cache3.BuilderModifier and TypeMethodDescriptionSets the caching mode for this cache.static <K1,K2, K3, V>
Cache3.Builder<K1,K2, K3, V> Cache3.create()Creates a newCache3.Builderfor constructing a cache with explicit type parameters.Conditionally enables logging of cache statistics when the JVM exits.Enables logging of cache statistics when the JVM exits.Cache3.Builder.maxSize(int value) Specifies the maximum number of entries allowed in this cache.static <K1,K2, K3, V>
Cache3.Builder<K1,K2, K3, V> Creates a newCache3.Builderfor constructing a cache.Specifies the default supplier function for computing values when keys are not found.Cache3.Builder.threadLocal()Enables thread-local caching.Cache3.Builder.weak()Sets the caching mode toWEAK.Constructors in org.apache.juneau.commons.collections with parameters of type Cache3.Builder