Package cloud.opencode.base.cache
package cloud.opencode.base.cache
-
ClassDescriptionAsyncCache<K,
V> Async Cache Interface - Non-blocking cache operations based on CompletableFuture 异步缓存接口 - 基于 CompletableFuture 的非阻塞缓存操作Cache<K,V> Cache Core Interface - High-performance local cache with synchronous API 缓存核心接口 - 高性能本地缓存同步 APICache Decorators - Fluent API for chaining cache decorators 缓存装饰器 - 用于链式组合缓存装饰器的流式 APIBuilder for chaining cache decorators 用于链式组合缓存装饰器的构建器Cache Manager - Global cache instance management 缓存管理器 - 全局缓存实例管理Cache Metrics - Detailed latency tracking with percentile calculations 缓存指标 - 带百分位数计算的详细延迟跟踪Immutable metrics snapshot 不可变指标快照Cache Statistics Snapshot Interface - Immutable cache performance metrics 缓存统计快照接口 - 不可变的缓存性能指标CopyOnReadCache<K,V> Copy-on-Read Cache - Returns deep copies of cached values for thread safety 读时复制缓存 - 返回缓存值的深拷贝以保证线程安全Builder for CopyOnReadCacheLayeredCache<K,V> Deprecated, for removal: This API element is subject to removal in a future version.LayeredCache.Builder<K,V> Builder for LayeredCache LayeredCache构建器Layered cache statistics 分层缓存统计Write strategy for layered cache 分层缓存的写策略LoadingCache<K,V> Loading Cache Interface - Cache with automatic value loading 加载缓存接口 - 具有自动值加载功能的缓存NullSafeCache<K,V> Null-Safe Cache - Cache that can store and distinguish null values 空值安全缓存 - 可以存储和区分 null 值的缓存OpenCache Facade - Unified entry point for cache operations OpenCache 门面 - 缓存操作的统一入口Deprecated, for removal: This API element is subject to removal in a future version.UseCacheConfig.Builderinstead for full configuration capabilities.ProtectedCache<K,V> Protected Cache - Auto-integrates BloomFilter and SingleFlight protection 保护缓存 - 自动集成布隆过滤器和单次加载保护Builder for ProtectedCacheProtection statisticsReadThroughCache<K,V> Read-Through Cache - Automatic transparent loading from backend 读穿透缓存 - 从后端自动透明加载Builder for ReadThroughCache ReadThroughCache 构建器Exception thrown when cache loading fails 缓存加载失败时抛出的异常ReferenceCache<K,V> Reference Cache - Memory-sensitive cache using weak/soft references 引用缓存 - 使用弱引用/软引用的内存敏感缓存Builder for ReferenceCacheReference type for cache entries 缓存条目的引用类型RefreshAheadCache<K,V> Refresh Ahead Cache - Proactive cache refresh decorator 提前刷新缓存 - 主动缓存刷新装饰器Builder for RefreshAheadCacheRefresh statistics record 刷新统计记录TaggedCache<K,V> Tagged Cache - Cache decorator with tag-based batch invalidation 标签缓存 - 支持基于标签批量失效的缓存装饰器TenantCache<K,V> Tenant Cache - Multi-tenant cache with isolation and per-tenant limits 租户缓存 - 带隔离和租户限制的多租户缓存TenantCache.Builder<K,V> Builder for TenantCache TenantCache 构建器Exception thrown when tenant quota is exceeded 租户配额超限时抛出的异常TimeoutCache<K,V> Timeout Cache - Cache wrapper with operation timeout support 超时缓存 - 支持操作超时控制的缓存包装器TimeoutCache.Builder<K,V> Builder for TimeoutCacheException thrown when cache operation times out 缓存操作超时时抛出的异常WriteBehindCache<K,V> Write-Behind Cache - Asynchronous batch persistence cache wrapper 写后缓存 - 异步批量持久化缓存包装器Batch writer interface for persisting cache changes 批量写入器接口,用于持久化缓存变更Builder for WriteBehindCache WriteBehindCache 构建器Write-behind statistics 写后统计信息Write failure information 写入失败信息WriteThroughCache<K,V> Write-Through Cache - Synchronous write to both cache and backend 写穿透缓存 - 同步写入缓存和后端存储Builder for WriteThroughCache WriteThroughCache 构建器Exception thrown when cache write-through fails 缓存写穿透失败时抛出的异常Cache Writer - Writes cache entries to backend storage 缓存写入器 - 将缓存条目写入后端存储
MultiLevelCacheinstead.