Uses of Interface
cloud.opencode.base.cache.LoadingCache
Packages that use LoadingCache
-
Uses of LoadingCache in cloud.opencode.base.cache
Methods in cloud.opencode.base.cache that return LoadingCacheModifier and TypeMethodDescriptionstatic <K,V> LoadingCache <K, V> Create a loading cache with default configuration 使用默认配置创建加载缓存static <K,V> LoadingCache <K, V> LoadingCache.create(String name, Function<? super K, ? extends V> loader, CacheConfig<K, V> config) Create a loading cache with the given loader 使用给定的加载器创建加载缓存static <K,V> LoadingCache <K, V> LoadingCache.createWithLoader(String name, CacheLoader<K, V> loader, CacheConfig<K, V> config) Create a loading cache with CacheLoader 使用 CacheLoader 创建加载缓存static <K,V> LoadingCache <K, V> OpenCache.loadingCache(String name, Function<? super K, ? extends V> loader, long maxSize) Create a loading cache with automatic value loading 创建具有自动值加载功能的加载缓存static <K,V> LoadingCache <K, V> OpenCache.loadingCache(String name, Function<? super K, ? extends V> loader, long maxSize, Duration duration) Create a loading cache with TTL 创建具有 TTL 的加载缓存