Uses of Class
io.helidon.security.providers.common.EvictableCache.Builder
Packages that use EvictableCache.Builder
Package
Description
Common classes for provider implementation.
-
Uses of EvictableCache.Builder in io.helidon.security.providers.common
Classes in io.helidon.security.providers.common that implement interfaces with type arguments of type EvictableCache.BuilderModifier and TypeClassDescriptionstatic classBuilder to create instances ofEvictableCacheusing the default implementation backed by aConcurrentHashMap.Methods in io.helidon.security.providers.common that return EvictableCache.BuilderModifier and TypeMethodDescriptionstatic <K,V> EvictableCache.Builder <K, V> EvictableCache.builder()Create a new builder for a cache that uses the default implementation.EvictableCache.Builder.cacheEnabled(boolean cacheEnabled) If the cacheEnabled is set to false, no caching will be done.Update this builder from configuration.EvictableCache.Builder.evictor(BiFunction<K, V, Boolean> evictor) Configure evictor to check if a record is still valid.EvictableCache.Builder.evictSchedule(long evictDelay, long evictPeriod, TimeUnit evictTimeUnit) Configure eviction scheduling.EvictableCache.Builder.maxSize(long cacheMaxSize) Configure maximal cache size.EvictableCache.Builder.overallTimeout(long timeout, TimeUnit timeoutUnit) Configure record timeout since its creation.EvictableCache.Builder.parallelismThreshold(long parallelismThreshold) Configure parallelism threshold.Configure record timeout since last access.