Uses of Class
cloud.opencode.base.cache.RefreshAheadCache.Builder
Packages that use RefreshAheadCache.Builder
-
Uses of RefreshAheadCache.Builder in cloud.opencode.base.cache
Methods in cloud.opencode.base.cache that return RefreshAheadCache.BuilderModifier and TypeMethodDescriptionSet executor for async refresh 设置异步刷新执行器Set loader function for refreshing values 设置用于刷新值的加载函数RefreshAheadCache.Builder.refreshPolicy(RefreshAheadPolicy<K, V> policy) Set refresh policy 设置刷新策略Set TTL for refresh calculation 设置刷新计算的 TTLstatic <K,V> RefreshAheadCache.Builder <K, V> Wrap a cache with refresh-ahead behavior 使用提前刷新行为包装缓存Method parameters in cloud.opencode.base.cache with type arguments of type RefreshAheadCache.BuilderModifier and TypeMethodDescriptionCacheDecorators.ChainBuilder.withRefreshAhead(UnaryOperator<RefreshAheadCache.Builder<K, V>> configurer) Add refresh-ahead with custom configuration 添加提前刷新并自定义配置