Uses of Class
cloud.opencode.base.cache.config.CacheConfig
Packages that use CacheConfig
-
Uses of CacheConfig in cloud.opencode.base.cache
Methods in cloud.opencode.base.cache that return CacheConfigModifier and TypeMethodDescriptionstatic <K,V> CacheConfig <K, V> Parse specification string to CacheConfig 解析规范字符串为 CacheConfigMethods in cloud.opencode.base.cache with parameters of type CacheConfigModifier and TypeMethodDescriptionstatic <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> ReadThroughCache <K, V> ReadThroughCache.create(String name, Function<? super K, ? extends V> loader, CacheConfig<K, V> config) Create a new read-through cache with the given configuration 使用给定配置创建新的读穿透缓存<K,V> Cache <K, V> CacheManager.createCache(String name, CacheConfig<K, V> config) Create cache with configuration (always creates new) 创建带配置的缓存(总是创建新的)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 创建加载缓存 -
Uses of CacheConfig in cloud.opencode.base.cache.config
Methods in cloud.opencode.base.cache.config that return CacheConfigModifier and TypeMethodDescriptionCacheConfig.Builder.build()Build the configuration 构建配置static <K,V> CacheConfig <K, V> CacheConfig.defaultConfig()Create default configuration 创建默认配置static <K,V> CacheConfig <K, V> Parse a specification string into a CacheConfig 解析规范字符串为 CacheConfigMethods in cloud.opencode.base.cache.config with parameters of type CacheConfigModifier and TypeMethodDescriptionstatic <K,V> String CacheSpec.toSpec(CacheConfig<K, V> config) Build a specification string from a CacheConfig 从 CacheConfig 构建规范字符串