Index

A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accessCount() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns the value of the accessCount record component.
accessCount(K) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
Get access count for a key 获取键的访问计数
accessDistribution() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the accessDistribution record component.
AccessPatternAnalyzer<K> - Class in cloud.opencode.base.cache.analysis
Access Pattern Analyzer - Analyzes cache access patterns 访问模式分析器 - 分析缓存访问模式
AccessPatternAnalyzer.AccessPatternReport<K> - Record Class in cloud.opencode.base.cache.analysis
Access pattern analysis report 访问模式分析报告
AccessPatternAnalyzer.Builder<K> - Class in cloud.opencode.base.cache.analysis
Builder for AccessPatternAnalyzer AccessPatternAnalyzer 构建器
AccessPatternAnalyzer.KeyAccessCount<K> - Record Class in cloud.opencode.base.cache.analysis
Key with access count 带访问计数的键
AccessPatternReport(Instant, long, long, double, int, int, Set, Set, List, List, long[]) - Constructor for record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Creates an instance of a AccessPatternReport record class.
activeWarmings() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Returns the value of the activeWarmings record component.
adaptive(double, double) - Static method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Create a refresh policy with adaptive threshold based on load 创建基于负载的自适应阈值刷新策略
add(K, Throwable) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Add a failed key to the DLQ 将失败的键添加到 DLQ
add(T) - Method in class cloud.opencode.base.cache.protection.BloomFilter
Add element to filter 添加元素到过滤器
addAll(Iterable, Throwable) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Add multiple failed keys 添加多个失败的键
addAll(Collection) - Method in class cloud.opencode.base.cache.protection.BloomFilter
Add all elements 批量添加元素
addCache(String, CacheProperties.CacheSpec) - Method in class cloud.opencode.base.cache.spring.CacheProperties
Add a named cache configuration 添加命名缓存配置
addListener(CacheEventListener) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Add event listener 添加事件监听器
advance(Duration) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.TestClock
Advance time by duration 按时长推进时间
age() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Get age in milliseconds (time since creation) 获取存活时间(毫秒,自创建以来)
aggregatedStats() - Method in class cloud.opencode.base.cache.TenantCache
Get aggregated stats across all tenants 获取所有租户的聚合统计
algorithm() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns the value of the algorithm record component.
algorithm() - Method in interface cloud.opencode.base.cache.compression.ValueCompressor
Get compression algorithm 获取压缩算法
algorithm() - Method in class cloud.opencode.base.cache.compression.ValueCompressor.GzipCompressor
 
algorithm() - Method in class cloud.opencode.base.cache.compression.ValueCompressor.NoOpCompressor
 
algorithm(CompressionAlgorithm) - Method in class cloud.opencode.base.cache.compression.ValueCompressor.Builder
Set compression algorithm 设置压缩算法
algorithmName() - Method in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Get algorithm name 获取算法名称
allAccessCounts() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
Get all access counts 获取所有访问计数
allowNullValues(boolean) - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager.Builder
Set whether to allow null values 设置是否允许 null 值
allowRequest() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Check if request is allowed through circuit breaker 检查是否允许请求通过熔断器
analysisTime() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the analysisTime record component.
analyze() - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Generate full analysis report 生成完整分析报告
analyze() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Analyze DLQ contents 分析 DLQ 内容
and(EvictionPolicy) - Method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Combine with another policy using AND logic (evict only if both suggest same victim) 使用 AND 逻辑与另一个策略组合(仅当两个策略建议相同候选时淘汰)
and(RefreshAheadPolicy) - Method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Combine with another policy using AND logic 使用 AND 逻辑与另一个策略组合
andThen(CacheEventListener) - Method in interface cloud.opencode.base.cache.event.CacheEventListener
Compose with another listener 与另一个监听器组合
apply(Duration) - Method in class cloud.opencode.base.cache.protection.TtlJitter
Applies a random jitter offset to the given TTL.
apply(K) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader
 
approximateElementCount() - Method in class cloud.opencode.base.cache.protection.BloomFilter
Get approximate element count 获取近似元素数
arrayLength() - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher using array length 创建使用数组长度的权重计算器
asFlux() - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get all values as Reactor Flux (if available) 获取所有值作为 Reactor Flux(如果可用)
asMap() - Method in interface cloud.opencode.base.cache.Cache
Get a concurrent map view of this cache 获取 ConcurrentMap 视图
asMap() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
asMap() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
asMap() - Method in class cloud.opencode.base.cache.LayeredCache
 
asMap() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
asMap() - Method in class cloud.opencode.base.cache.NullSafeCache
 
asMap() - Method in class cloud.opencode.base.cache.ProtectedCache
 
asMap() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
asMap() - Method in class cloud.opencode.base.cache.ReferenceCache
 
asMap() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
asMap() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
asMap() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
asMap() - Method in class cloud.opencode.base.cache.TimeoutCache
 
asMap() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
asMap() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
asMap() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
asMono(K) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get value as Reactor Mono (if available) 获取值作为 Reactor Mono(如果可用)
async() - Method in interface cloud.opencode.base.cache.Cache
Get async view of this cache 获取异步视图
async() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
async() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
async() - Method in class cloud.opencode.base.cache.LayeredCache
 
async() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
async() - Method in class cloud.opencode.base.cache.NullSafeCache
 
async() - Method in class cloud.opencode.base.cache.ProtectedCache
 
async() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
async() - Method in class cloud.opencode.base.cache.ReferenceCache
 
async() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
async() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
async() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
async() - Method in class cloud.opencode.base.cache.TimeoutCache
 
async() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
async() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
async() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
AsyncCache<K,V> - Interface in cloud.opencode.base.cache
Async Cache Interface - Non-blocking cache operations based on CompletableFuture 异步缓存接口 - 基于 CompletableFuture 的非阻塞缓存操作
AsyncCacheLoader<K,V> - Interface in cloud.opencode.base.cache.spi
Async Cache Loader SPI - Asynchronous cache value loader interface 异步缓存加载器 SPI - 异步缓存值加载接口
asyncExecutor(ExecutorService) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher.Builder
Set async executor 设置异步执行器
asyncLoad(K, Executor) - Method in interface cloud.opencode.base.cache.spi.AsyncCacheLoader
Async load value for single key 异步加载单个键的值
asyncLoadAll(Set, Executor) - Method in interface cloud.opencode.base.cache.spi.AsyncCacheLoader
Async batch load values 异步批量加载值
asyncLoading() - Method in interface cloud.opencode.base.cache.LoadingCache
Get async view of this loading cache 获取加载缓存的异步视图
asyncReload(K, V, Executor) - Method in interface cloud.opencode.base.cache.spi.AsyncCacheLoader
Async reload value 异步重新加载值
atomicInvalidateAll(Iterable) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Atomic invalidate all - either all succeed or none 原子使全部无效 - 要么全部成功,要么都不
attempts() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Returns the value of the attempts record component.
availableConcurrentCalls() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns the value of the availableConcurrentCalls record component.
averageAccessPerKey() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the averageAccessPerKey record component.
averageBatchSize() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Get average batch size 获取平均批次大小
averageLoadPenalty() - Method in interface cloud.opencode.base.cache.CacheStats
Get average load time in nanoseconds 获取平均加载时间(纳秒)
averageLoadTime() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Gets the average load time.
avgCompressionTimeNanos() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Get average compression time in nanoseconds 获取平均压缩时间(纳秒)
avgDecompressionTimeNanos() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Get average decompression time in nanoseconds 获取平均解压时间(纳秒)
avgGetLatency() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the avgGetLatency record component.
avgLatency() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the avgLatency record component.
avgLatency(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
avgLatency | avgLatency
avgLoadLatency() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the avgLoadLatency record component.
avgPutLatency() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the avgPutLatency record component.
avgRetriesPerEntry() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns the value of the avgRetriesPerEntry record component.

B

backoffMultiplier(double) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
backoffMultiplier | backoffMultiplier
BackoffStrategy - Enum Class in cloud.opencode.base.cache.protection
Backoff Strategy - Enumeration of retry backoff strategies 退避策略 - 重试退避策略枚举
batchBuilder() - Static method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader
Create builder for batch loader 创建批量加载器构建器
BatchBuilder() - Constructor for class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BatchBuilder
Creates a new BatchBuilder instance | 创建新的 BatchBuilder 实例
batchCount() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Returns the value of the batchCount record component.
batchedWrites() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Returns the value of the batchedWrites record component.
batchKeys(String, int) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Generate batch keys with index 生成带索引的批量键
batchLoader(Function) - Method in class cloud.opencode.base.cache.ReadThroughCache.Builder
Set the batch loader function 设置批量加载函数
batchLoader(Function) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Sets the batch loader function | 设置批量加载函数
batchProcess(Iterable, int, BulkOperations.BatchProcessor) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Process keys in batches 分批处理键
batchProcessParallel(List, int, int, BulkOperations.BatchProcessor) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Process keys in parallel batches 并行分批处理键
BatchResult(int, int, int) - Constructor for record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Creates an instance of a BatchResult record class.
batchSize(int) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Sets the batch size | 设置批量大小
batchSize(int) - Method in class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Set batch size 设置批次大小
batchSize(int) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set batch size before auto-flush 设置自动刷新前的批量大小
beforeExpiration(Duration) - Static method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Create a policy that refreshes a fixed duration before expiration 创建在过期前固定时间刷新的策略
bitSize() - Method in class cloud.opencode.base.cache.protection.BloomFilter
Get bit size 获取位大小
bloomFilter(boolean) - Method in class cloud.opencode.base.cache.ProtectedCache.Builder
Enable/disable bloom filter 启用/禁用布隆过滤器
bloomFilter(long, double) - Method in class cloud.opencode.base.cache.ProtectedCache.Builder
Configure bloom filter 配置布隆过滤器
BloomFilter<T> - Class in cloud.opencode.base.cache.protection
Bloom Filter - Probabilistic data structure for cache penetration prevention 布隆过滤器 - 用于防止缓存穿透的概率数据结构
BloomFilter(int, int) - Constructor for class cloud.opencode.base.cache.protection.BloomFilter
Create bloom filter with specific bit size and hash count 使用特定位大小和哈希次数创建布隆过滤器
BloomFilter(long, double) - Constructor for class cloud.opencode.base.cache.protection.BloomFilter
Create bloom filter with expected insertions and false positive probability 使用预期插入数和误判率创建布隆过滤器
bloomFilterEntries() - Method in record class cloud.opencode.base.cache.ProtectedCache.ProtectionStats
Returns the value of the bloomFilterEntries record component.
bottomK() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the bottomK record component.
bounded(long, long) - Method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher bounded between min and max 创建在最小和最大之间的权重计算器
build() - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.Builder
Build the analyzer 构建分析器
build() - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Build the decorated cache 构建装饰后的缓存
build() - Method in class cloud.opencode.base.cache.compression.CompressedCache.Builder
Build the compressed cache 构建压缩缓存
build() - Method in class cloud.opencode.base.cache.compression.ValueCompressor.Builder
Build the compressor 构建压缩器
build() - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Build the configuration 构建配置
build() - Method in class cloud.opencode.base.cache.CopyOnReadCache.Builder
Build the copy-on-read cache 构建读时复制缓存
build() - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Builds the config.
build() - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
build | build
build() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
build | build
build() - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher.Builder
Build the dispatcher 构建分发器
build() - Method in class cloud.opencode.base.cache.LayeredCache.Builder
Builds the layered cache 构建分层缓存
build() - Method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.Builder
Build the exporter 构建导出器
build() - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter.Builder
Build the exporter 构建导出器
build() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.Builder
build | build
build() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfigBuilder
build | build
build() - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
Build anonymous cache 构建匿名缓存
build() - Method in class cloud.opencode.base.cache.ProtectedCache.Builder
Build the protected cache 构建保护缓存
build() - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBuilder
Build the bulkhead 构建舱壁
build() - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBuilder
Build the bulkhead 构建舱壁
build() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker.Config.Builder
build | build
build() - Method in class cloud.opencode.base.cache.ReadThroughCache.Builder
Build the read-through cache 构建读穿透缓存
build() - Method in class cloud.opencode.base.cache.ReferenceCache.Builder
Build the cache 构建缓存
build() - Method in class cloud.opencode.base.cache.RefreshAheadCache.Builder
Build the refresh-ahead cache 构建提前刷新缓存
build() - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BatchBuilder
Build the resilient batch loader 构建弹性批量加载器
build() - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Build the resilient loader 构建弹性加载器
build() - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager.Builder
Build the cache manager 构建缓存管理器
build() - Method in class cloud.opencode.base.cache.TenantCache.Builder
Build the tenant cache 构建租户缓存
build() - Method in class cloud.opencode.base.cache.TimeoutCache.Builder
Build the timeout cache 构建超时缓存
build() - Method in class cloud.opencode.base.cache.ttl.TtlPolicy.PatternBuilder
Build the TTL policy 构建 TTL 策略
build() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache.Builder
Build the variable TTL cache 构建可变 TTL 缓存
build() - Method in class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Builds the CacheWarmer | 构建缓存预热器
build() - Method in class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions.Builder
Builds the WarmingOptions | 构建预热选项
build() - Method in class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Build the write coalescer 构建写合并器
build() - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Build the write-behind cache 构建写后缓存
build() - Method in class cloud.opencode.base.cache.WriteThroughCache.Builder
Build the write-through cache 构建写穿透缓存
build(String) - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
Build cache with name 构建命名缓存
builder() - Static method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Create a builder 创建构建器
builder() - Static method in interface cloud.opencode.base.cache.compression.ValueCompressor
Create compressor builder 创建压缩器构建器
builder() - Static method in class cloud.opencode.base.cache.config.CacheConfig
Create new builder 创建新的构建器
builder() - Static method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Creates a new builder.
builder() - Static method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Creates a builder for DistributedCacheStats.
builder() - Static method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Create a builder 创建构建器
builder() - Static method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Create dispatcher builder 创建分发器构建器
builder() - Static method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter
Create exporter builder 创建导出器构建器
builder() - Static method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Create exporter builder 创建导出器构建器
builder() - Static method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
Create a builder 创建构建器
builder() - Static method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Creates a new level config builder | 创建新的级别配置构建器
builder() - Static method in class cloud.opencode.base.cache.OpenCache
Create cache configuration builder 创建缓存配置构建器
builder() - Static method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
builder | builder
builder() - Static method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader
Create builder for single-key loader 创建单键加载器构建器
builder() - Static method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Create builder 创建构建器
builder() - Static method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a builder for pattern-based TTL 创建基于模式的 TTL 构建器
builder() - Static method in class cloud.opencode.base.cache.warming.CacheWarmer
Create a builder 创建构建器
builder() - Static method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Creates a new Builder | 创建新的构建器
builder() - Static method in class cloud.opencode.base.cache.write.WriteCoalescer
Create a builder 创建构建器
builder(Cache) - Static method in class cloud.opencode.base.cache.WriteBehindCache
Create a builder for WriteBehindCache 创建 WriteBehindCache 构建器
builder(Cache, Cache) - Static method in class cloud.opencode.base.cache.LayeredCache
Creates a builder for layered cache 创建分层缓存构建器
builder(String) - Static method in class cloud.opencode.base.cache.ReferenceCache
Create builder 创建构建器
builder(String) - Static method in class cloud.opencode.base.cache.TenantCache
Create builder for TenantCache 创建 TenantCache 构建器
Builder() - Constructor for class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.Builder
Creates a new Builder instance | 创建新的构建器实例
Builder() - Constructor for class cloud.opencode.base.cache.compression.ValueCompressor.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.config.CacheConfig.Builder
Creates a new Builder instance | 创建新的构建器实例
Builder() - Constructor for class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.event.CacheEventDispatcher.Builder
Creates a new Builder instance | 创建新的构建器实例
Builder() - Constructor for class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.multilevel.MultiLevelCache.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.protection.CircuitBreaker.Config.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.spring.OpenCodeCacheManager.Builder
Creates a new Builder instance | 创建新的 Builder 实例
Builder() - Constructor for class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Creates a new Builder instance | 创建新的构建器实例
Builder() - Constructor for class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions.Builder
Creates a new Builder instance | 创建新的构建器实例
Builder() - Constructor for class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Creates a new Builder instance | 创建新的 Builder 实例
bulkhead(Bulkhead) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BatchBuilder
Set bulkhead 设置舱壁
bulkhead(Bulkhead) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set bulkhead 设置舱壁
Bulkhead - Interface in cloud.opencode.base.cache.protection
Bulkhead - Resource isolation for cache operations 舱壁 - 缓存操作的资源隔离
Bulkhead.BulkheadFullException - Exception Class in cloud.opencode.base.cache.protection
Exception thrown when bulkhead is full 舱壁已满时抛出的异常
Bulkhead.Metrics - Record Class in cloud.opencode.base.cache.protection
Bulkhead metrics 舱壁指标
Bulkhead.SemaphoreBuilder - Class in cloud.opencode.base.cache.protection
Builder for semaphore-based bulkhead 信号量舱壁构建器
Bulkhead.SemaphoreBulkhead - Class in cloud.opencode.base.cache.protection
Semaphore-based bulkhead implementation 基于信号量的舱壁实现
Bulkhead.ThreadPoolBuilder - Class in cloud.opencode.base.cache.protection
Builder for thread pool-based bulkhead 线程池舱壁构建器
Bulkhead.ThreadPoolBulkhead - Class in cloud.opencode.base.cache.protection
Thread pool-based bulkhead implementation 基于线程池的舱壁实现
BulkheadFullException(String) - Constructor for exception class cloud.opencode.base.cache.protection.Bulkhead.BulkheadFullException
Creates a BulkheadFullException | 创建舱壁已满异常
BulkheadRejectedException(String) - Constructor for exception class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BulkheadRejectedException
BulkheadRejectedException | BulkheadRejectedException
BulkOperations<K,V> - Class in cloud.opencode.base.cache.bulk
Bulk Operations - Enhanced bulk operations for cache 批量操作 - 缓存的增强批量操作
BulkOperations.BatchProcessor<K,V> - Interface in cloud.opencode.base.cache.bulk
Batch processor functional interface 批处理器函数式接口
BulkOperations.BatchResult - Record Class in cloud.opencode.base.cache.bulk
Result of batch processing 批处理的结果
BulkOperations.BulkPutResult<K> - Record Class in cloud.opencode.base.cache.bulk
Result of bulk put operation 批量放置操作的结果
BulkOperations.TtlValue<V> - Record Class in cloud.opencode.base.cache.bulk
Value with TTL for bulk put 用于批量放置的带 TTL 的值
bulkPutAll(Map) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Bulk put all entries with best-effort rollback on failure.
BulkPutResult(Set, Set) - Constructor for record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Creates an instance of a BulkPutResult record class.
byKey(Function) - Static method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a key-based TTL policy 创建基于键的 TTL 策略
byteArrayLength() - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher using byte array length 创建使用字节数组长度的权重计算器
bytesAfterCompression() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns the value of the bytesAfterCompression record component.
bytesBeforeCompression() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns the value of the bytesBeforeCompression record component.
bytesSaved() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Get space saved in bytes 获取节省的空间(字节)
byValue(BiFunction) - Static method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a value-based TTL policy 创建基于值的 TTL 策略

C

cache() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Returns the value of the cache record component.
cache(Cache) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfigBuilder
Sets the cache for this level | 设置此级别的缓存
cache(Cache) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Sets the cache | 设置缓存
cache(String, Consumer) - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager.Builder
Configure a named cache 配置命名缓存
Cache<K,V> - Interface in cloud.opencode.base.cache
Cache Core Interface - High-performance local cache with synchronous API 缓存核心接口 - 高性能本地缓存同步 API
CacheAutoConfiguration - Class in cloud.opencode.base.cache.spring
Cache Auto-Configuration for Spring Boot 缓存自动配置类 - 用于 Spring Boot 自动配置
CacheAutoConfiguration.ConfigurationFactory - Class in cloud.opencode.base.cache.spring
Configuration factory for manual Spring integration 用于手动 Spring 集成的配置工厂
CacheBuilder() - Constructor for class cloud.opencode.base.cache.OpenCache.CacheBuilder
Creates a new CacheBuilder instance | 创建新的 CacheBuilder 实例
CacheConfig<K,V> - Class in cloud.opencode.base.cache.config
Cache Configuration - Immutable cache configuration with Builder pattern 缓存配置 - 不可变的缓存配置,使用 Builder 模式
CacheConfig.Builder<K,V> - Class in cloud.opencode.base.cache.config
Cache Configuration Builder 缓存配置构建器
cacheCount() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns the value of the cacheCount record component.
CacheDecorators - Class in cloud.opencode.base.cache
Cache Decorators - Fluent API for chaining cache decorators 缓存装饰器 - 用于链式组合缓存装饰器的流式 API
CacheDecorators.ChainBuilder<K,V> - Class in cloud.opencode.base.cache
Builder for chaining cache decorators 用于链式组合缓存装饰器的构建器
CacheEntry<K,V> - Record Class in cloud.opencode.base.cache.model
Cache Entry - Represents a single cache entry with metadata 缓存条目 - 表示带有元数据的单个缓存条目
CacheEntry(K, V) - Constructor for record class cloud.opencode.base.cache.model.CacheEntry
Create entry with default weight of 1 创建默认权重为 1 的条目
CacheEntry(K, V, long) - Constructor for record class cloud.opencode.base.cache.model.CacheEntry
Create entry with specified weight 创建指定权重的条目
CacheEntry(K, V, long, long, long, long) - Constructor for record class cloud.opencode.base.cache.model.CacheEntry
Creates an instance of a CacheEntry record class.
CacheEvent<K,V> - Record Class in cloud.opencode.base.cache.event
Cache Event - Represents events that occur in a cache 缓存事件 - 表示缓存中发生的事件
CacheEvent(CacheEvent.EventType, String, K, V, V, RemovalCause, boolean, Instant) - Constructor for record class cloud.opencode.base.cache.event.CacheEvent
Creates an instance of a CacheEvent record class.
CacheEvent.EventType - Enum Class in cloud.opencode.base.cache.event
Cache event types 缓存事件类型
CacheEventDispatcher<K,V> - Class in cloud.opencode.base.cache.event
Cache Event Dispatcher - Manages event listeners and dispatches events 缓存事件分发器 - 管理事件监听器并分发事件
CacheEventDispatcher.Builder<K,V> - Class in cloud.opencode.base.cache.event
Builder for CacheEventDispatcher CacheEventDispatcher 构建器
CacheEventDispatcher.EventErrorHandler<K,V> - Interface in cloud.opencode.base.cache.event
Error handler for listener exceptions 监听器异常的错误处理器
CacheEventDispatcher.Metrics - Record Class in cloud.opencode.base.cache.event
Dispatcher metrics 分发器指标
CacheEventListener<K,V> - Interface in cloud.opencode.base.cache.event
Cache Event Listener - Receives notifications about cache events 缓存事件监听器 - 接收缓存事件通知
cacheFactory(Supplier) - Method in class cloud.opencode.base.cache.TenantCache.Builder
Set custom cache factory for creating tenant caches 设置自定义缓存工厂以创建租户缓存
CacheHealth(CacheHealthIndicator.Status, long, long, long, long, double, double, String) - Constructor for record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Creates an instance of a CacheHealth record class.
CacheHealthIndicator - Class in cloud.opencode.base.cache.spring
Cache Health Indicator for Spring Boot Actuator 缓存健康指示器,用于 Spring Boot Actuator
CacheHealthIndicator(CacheManager) - Constructor for class cloud.opencode.base.cache.spring.CacheHealthIndicator
Create health indicator with cache manager 使用缓存管理器创建健康指示器
CacheHealthIndicator.CacheHealth - Record Class in cloud.opencode.base.cache.spring
Individual cache health 单个缓存健康
CacheHealthIndicator.HealthResult - Record Class in cloud.opencode.base.cache.spring
Overall health result 整体健康结果
CacheHealthIndicator.Status - Enum Class in cloud.opencode.base.cache.spring
Health status enumeration 健康状态枚举
CacheLoader<K,V> - Interface in cloud.opencode.base.cache.spi
Cache Loader SPI - Synchronous cache value loader interface 缓存加载器 SPI - 同步缓存值加载接口
CacheLoadException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.ReadThroughCache.CacheLoadException
CacheLoadException | CacheLoadException
CacheManager - Class in cloud.opencode.base.cache
Cache Manager - Global cache instance management 缓存管理器 - 全局缓存实例管理
CacheMetrics - Class in cloud.opencode.base.cache
Cache Metrics - Detailed latency tracking with percentile calculations 缓存指标 - 带百分位数计算的详细延迟跟踪
CacheMetrics.MetricsSnapshot - Record Class in cloud.opencode.base.cache
Immutable metrics snapshot 不可变指标快照
cacheName() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the cacheName record component.
cacheName() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Returns the value of the cacheName record component.
cacheNullValues() - Method in class cloud.opencode.base.cache.ReadThroughCache.Builder
Enable caching of null values (using fallback as marker) 启用缓存 null 值(使用降级值作为标记)
CacheProperties - Class in cloud.opencode.base.cache.spring
Cache Properties - Configuration properties for cache auto-configuration 缓存属性 - 缓存自动配置的配置属性
CacheProperties() - Constructor for class cloud.opencode.base.cache.spring.CacheProperties
Creates a new CacheProperties with defaults | 使用默认值创建新的缓存属性
CacheProperties.CacheSpec - Class in cloud.opencode.base.cache.spring
Cache specification for individual cache configuration 单个缓存配置的缓存规格
CacheQuery<K,V> - Class in cloud.opencode.base.cache.query
Cache Query - Fluent API for querying cache entries 缓存查询 - 用于查询缓存条目的流式 API
CacheQuery.Result<K,V> - Record Class in cloud.opencode.base.cache.query
Query result containing matched entries and metadata 包含匹配条目和元数据的查询结果
caches() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns the value of the caches record component.
CacheSerializer<V> - Interface in cloud.opencode.base.cache.spi
Cache Serializer SPI - Cache value serialization interface 缓存序列化器 SPI - 缓存值序列化接口
CacheSpec - Class in cloud.opencode.base.cache.config
CacheSpec - Parse cache configuration from a specification string CacheSpec - 从规范字符串解析缓存配置
CacheSpec() - Constructor for class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Creates a new CacheSpec with defaults | 使用默认值创建新的缓存规格
CacheStats - Interface in cloud.opencode.base.cache
Cache Statistics Snapshot Interface - Immutable cache performance metrics 缓存统计快照接口 - 不可变的缓存性能指标
CacheTestSupport - Class in cloud.opencode.base.cache.testing
Cache Test Support - Testing utilities for cache unit tests 缓存测试支持 - 缓存单元测试工具
CacheTestSupport.CacheOperation<K,V> - Interface in cloud.opencode.base.cache.testing
Sealed interface for cache operations 缓存操作密封接口
CacheTestSupport.CacheOperation.Get<K,V> - Record Class in cloud.opencode.base.cache.testing
Get operation | 获取操作
CacheTestSupport.CacheOperation.GetAll<K,V> - Record Class in cloud.opencode.base.cache.testing
Get all operation | 批量获取操作
CacheTestSupport.CacheOperation.GetWithLoader<K,V> - Record Class in cloud.opencode.base.cache.testing
Get with loader operation | 带加载器的获取操作
CacheTestSupport.CacheOperation.Invalidate<K,V> - Record Class in cloud.opencode.base.cache.testing
Invalidate operation | 失效操作
CacheTestSupport.CacheOperation.InvalidateAll<K,V> - Record Class in cloud.opencode.base.cache.testing
Invalidate all operation | 批量失效操作
CacheTestSupport.CacheOperation.Put<K,V> - Record Class in cloud.opencode.base.cache.testing
Put operation | 放入操作
CacheTestSupport.CacheOperation.PutAll<K,V> - Record Class in cloud.opencode.base.cache.testing
Put all operation | 批量放入操作
CacheTestSupport.CacheOperation.PutAllWithTtl<K,V> - Record Class in cloud.opencode.base.cache.testing
Put all with TTL operation | 带过期时间的批量放入操作
CacheTestSupport.CacheOperation.PutIfAbsent<K,V> - Record Class in cloud.opencode.base.cache.testing
Put if absent operation | 不存在则放入操作
CacheTestSupport.CacheOperation.PutIfAbsentWithTtl<K,V> - Record Class in cloud.opencode.base.cache.testing
Put if absent with TTL operation | 带过期时间的不存在则放入操作
CacheTestSupport.CacheOperation.PutWithTtl<K,V> - Record Class in cloud.opencode.base.cache.testing
Put with TTL operation | 带过期时间的放入操作
CacheTestSupport.MockCache<K,V> - Class in cloud.opencode.base.cache.testing
Simple mock cache implementation for testing 用于测试的简单模拟缓存实现
CacheTestSupport.RecordingCache<K,V> - Class in cloud.opencode.base.cache.testing
Cache that records all operations for verification 记录所有操作以供验证的缓存
CacheTestSupport.TestClock - Class in cloud.opencode.base.cache.testing
Controllable clock for testing time-dependent cache behavior 用于测试时间相关缓存行为的可控时钟
CacheTimeoutException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.TimeoutCache.CacheTimeoutException
CacheTimeoutException | CacheTimeoutException
CacheUtil - Class in cloud.opencode.base.cache.util
Cache Utility Class - Helper methods for cache operations 缓存工具类 - 缓存操作的辅助方法
CacheWarmer<K,V> - Class in cloud.opencode.base.cache.warming
Cache Warmer - Advanced cache warming with batch loading and progress tracking 缓存预热器 - 具有批量加载和进度跟踪的高级缓存预热
CacheWarmer<K,V> - Interface in cloud.opencode.base.cache.spi
Cache Warmer SPI - Cache pre-warming interface 缓存预热器 SPI - 缓存预热接口
CacheWarmer.Builder<K,V> - Class in cloud.opencode.base.cache.warming
Builder for CacheWarmer CacheWarmer 构建器
CacheWarmer.PriorityKey<K> - Record Class in cloud.opencode.base.cache.warming
Key with priority for priority-based warming 用于基于优先级预热的带优先级的键
CacheWarmer.ProgressCallback<K> - Interface in cloud.opencode.base.cache.warming
Progress callback interface 进度回调接口
CacheWarmer.ProgressSnapshot<K> - Record Class in cloud.opencode.base.cache.warming
Progress snapshot for callbacks 用于回调的进度快照
CacheWarmer.WarmingEventHandler<K,V> - Interface in cloud.opencode.base.cache.warming
Warming event handler 预热事件处理器
CacheWarmer.WarmingOptions - Record Class in cloud.opencode.base.cache.warming
Warming options 预热选项
CacheWarmer.WarmingOptions.Builder - Class in cloud.opencode.base.cache.warming
Builder for WarmingOptions | WarmingOptions 构建器
CacheWarmer.WarmingResult<K> - Record Class in cloud.opencode.base.cache.warming
Warming result 预热结果
CacheWarmer.WarmingStats - Record Class in cloud.opencode.base.cache.warming
Warming statistics 预热统计
CacheWarmerManager - Class in cloud.opencode.base.cache.warming
Cache Warmer Manager - Orchestrates cache warming lifecycle 缓存预热管理器 - 编排缓存预热生命周期
CacheWarmerManager.CacheWarmingResult - Record Class in cloud.opencode.base.cache.warming
Result for a single cache warming 单个缓存预热结果
CacheWarmerManager.WarmingListener - Interface in cloud.opencode.base.cache.warming
Warming lifecycle listener 预热生命周期监听器
CacheWarmerManager.WarmingMetrics - Record Class in cloud.opencode.base.cache.warming
Warming metrics 预热指标
CacheWarmerManager.WarmingResult - Record Class in cloud.opencode.base.cache.warming
Result for all cache warming 所有缓存预热结果
CacheWarmingResult(String, int, Duration, Throwable) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Creates an instance of a CacheWarmingResult record class.
CacheWriteException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.WriteThroughCache.CacheWriteException
CacheWriteException | CacheWriteException
calculateDecayedTtl(long) - Method in interface cloud.opencode.base.cache.ttl.TtlDecayPolicy
Calculate decayed TTL based on access count 根据访问次数计算衰减后的 TTL
calculateDecayedTtl(long) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
 
calculateDecayedTtl(long) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
 
calculateDecayedTtl(long) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
 
calculateDecayedTtl(long) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
 
calculateDelay(int, Duration, Duration, double) - Method in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Calculates the delay for the given attempt 计算给定尝试的延迟
calculateTtl(long, long) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Calculate TTL based on data freshness requirements 基于数据新鲜度要求计算 TTL
calculateTtl(K, V) - Method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Calculate TTL for a cache entry 计算缓存条目的 TTL
cancel(K) - Method in class cloud.opencode.base.cache.protection.SingleFlight
Cancel waiting for a key 取消等待某个键
cancelAll() - Method in class cloud.opencode.base.cache.protection.SingleFlight
Cancel all in-flight requests 取消所有进行中请求
cancelAllPendingRefreshes() - Method in class cloud.opencode.base.cache.RefreshAheadCache
Cancel all pending refreshes 取消所有待处理的刷新
cancelPendingRefresh(K) - Method in class cloud.opencode.base.cache.RefreshAheadCache
Cancel a pending refresh for a specific key 取消特定键的待处理刷新
canRetry() - Method in class cloud.opencode.base.cache.protection.RetryBudget
Returns true if a retry is allowed given the current budget state.
capacityExceeded(String, long) - Static method in exception class cloud.opencode.base.cache.exception.OpenCacheException
Create capacity exceeded exception 创建容量超出异常
CASCADE_DOWN - Enum constant in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.InvalidationPolicy
Cascade invalidation down through levels
cause() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Returns the value of the cause record component.
chain(Cache) - Static method in class cloud.opencode.base.cache.CacheDecorators
Start a decorator chain for the given cache 为给定的缓存开始装饰器链
channel() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache.Subscription
Gets the channel.
circuitBreaker(CircuitBreaker) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BatchBuilder
Set circuit breaker 设置熔断器
circuitBreaker(CircuitBreaker) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set circuit breaker 设置熔断器
CircuitBreaker - Class in cloud.opencode.base.cache.protection
Circuit Breaker - Cascade failure prevention for cache backends 熔断器 - 防止缓存后端级联故障
CircuitBreaker.CircuitBreakerOpenException - Exception Class in cloud.opencode.base.cache.protection
Exception thrown when circuit breaker is open 熔断器打开时抛出的异常
CircuitBreaker.Config - Record Class in cloud.opencode.base.cache.protection
Circuit breaker configuration 熔断器配置
CircuitBreaker.Config.Builder - Class in cloud.opencode.base.cache.protection
public static class Builder
CircuitBreaker.State - Enum Class in cloud.opencode.base.cache.protection
Circuit breaker state 熔断器状态
CircuitBreakerOpenException(String) - Constructor for exception class cloud.opencode.base.cache.protection.CircuitBreaker.CircuitBreakerOpenException
CircuitBreakerOpenException | CircuitBreakerOpenException
CircuitBreakerOpenException(String) - Constructor for exception class cloud.opencode.base.cache.resilience.ResilientCacheLoader.CircuitBreakerOpenException
CircuitBreakerOpenException | CircuitBreakerOpenException
cleanUp() - Method in interface cloud.opencode.base.cache.Cache
Perform cleanup (expired entries, etc.)
cleanUp() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
cleanUp() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
cleanUp() - Method in class cloud.opencode.base.cache.LayeredCache
 
cleanUp() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
cleanUp() - Method in class cloud.opencode.base.cache.NullSafeCache
 
cleanUp() - Method in class cloud.opencode.base.cache.ProtectedCache
 
cleanUp() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
cleanUp() - Method in class cloud.opencode.base.cache.ReferenceCache
 
cleanUp() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
cleanUp() - Method in class cloud.opencode.base.cache.TenantCache
Clean up all tenant caches 清理所有租户缓存
cleanUp() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
cleanUp() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
cleanUp() - Method in class cloud.opencode.base.cache.TimeoutCache
 
cleanUp() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
cleanUp() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
cleanUp() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
cleanUpAll() - Method in class cloud.opencode.base.cache.CacheManager
Clean up all caches 清理所有缓存
cleanUpAll() - Static method in class cloud.opencode.base.cache.OpenCache
Clean up all caches 清理所有缓存
cleanUpAll() - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Clean up all managed caches 清理所有管理缓存
clear() - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Clear all tracking data 清除所有跟踪数据
clear() - Method in interface cloud.opencode.base.cache.Cache
Clear all entries (alias for invalidateAll, for Map API compatibility) 清空所有条目(invalidateAll 的别名,兼容 Map API)
clear() - Method in class cloud.opencode.base.cache.protection.BloomFilter
Clear the filter 清空过滤器
clear(String) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create CLEAR event 创建 CLEAR 事件
CLEAR - Enum constant in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Cache cleared 缓存清除
clearCaches() - Method in class cloud.opencode.base.cache.spring.CacheProperties
Clear all named cache configurations 清除所有命名缓存配置
clearListeners() - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Remove all listeners 移除所有监听器
clearNegativeCache() - Method in class cloud.opencode.base.cache.ProtectedCache
Clear negative cache 清除负缓存
clearOperations() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
Clear recorded operations 清除记录的操作
clock() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
Get the test clock 获取测试时钟
close() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Closes the cache connection.
close() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache.DistributedLock
Releases the lock.
close() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache.Subscription
Unsubscribes.
close() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
 
close() - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
 
close() - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Close bulkhead and release resources 关闭舱壁并释放资源
close() - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBulkhead
 
close() - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBulkhead
 
close() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Manually close circuit 手动关闭熔断器
close() - Method in class cloud.opencode.base.cache.ReferenceCache
Close the cache and release resources 关闭缓存并释放资源
close() - Method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Closes this instance and shuts down the health check executor.
close() - Method in class cloud.opencode.base.cache.warming.CacheWarmer
 
close() - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Close the coalescer, flushing pending writes 关闭合并器,刷新待处理的写操作
close() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
CLOSED - Enum constant in enum class cloud.opencode.base.cache.protection.CircuitBreaker.State
Closed - Normal operation, requests pass through 关闭 - 正常运行,请求通过
cloud.opencode.base.cache - module cloud.opencode.base.cache
OpenCode Base Cache Module OpenCode 基础缓存模块
cloud.opencode.base.cache - package cloud.opencode.base.cache
 
cloud.opencode.base.cache.analysis - package cloud.opencode.base.cache.analysis
 
cloud.opencode.base.cache.bulk - package cloud.opencode.base.cache.bulk
 
cloud.opencode.base.cache.compression - package cloud.opencode.base.cache.compression
 
cloud.opencode.base.cache.config - package cloud.opencode.base.cache.config
 
cloud.opencode.base.cache.distributed - package cloud.opencode.base.cache.distributed
 
cloud.opencode.base.cache.dlq - package cloud.opencode.base.cache.dlq
 
cloud.opencode.base.cache.event - package cloud.opencode.base.cache.event
 
cloud.opencode.base.cache.exception - package cloud.opencode.base.cache.exception
 
cloud.opencode.base.cache.metrics - package cloud.opencode.base.cache.metrics
 
cloud.opencode.base.cache.model - package cloud.opencode.base.cache.model
 
cloud.opencode.base.cache.multilevel - package cloud.opencode.base.cache.multilevel
 
cloud.opencode.base.cache.protection - package cloud.opencode.base.cache.protection
 
cloud.opencode.base.cache.query - package cloud.opencode.base.cache.query
 
cloud.opencode.base.cache.reactive - package cloud.opencode.base.cache.reactive
 
cloud.opencode.base.cache.resilience - package cloud.opencode.base.cache.resilience
 
cloud.opencode.base.cache.spi - package cloud.opencode.base.cache.spi
 
cloud.opencode.base.cache.spring - package cloud.opencode.base.cache.spring
 
cloud.opencode.base.cache.testing - package cloud.opencode.base.cache.testing
 
cloud.opencode.base.cache.ttl - package cloud.opencode.base.cache.ttl
 
cloud.opencode.base.cache.util - package cloud.opencode.base.cache.util
 
cloud.opencode.base.cache.warming - package cloud.opencode.base.cache.warming
 
cloud.opencode.base.cache.write - package cloud.opencode.base.cache.write
 
coalescedWrites() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Returns the value of the coalescedWrites record component.
CoalescerStats(long, long, long, long, long, int) - Constructor for record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Creates an instance of a CoalescerStats record class.
coalescingRatio() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Get coalescing ratio (how many writes were merged) 获取合并比率(多少写入被合并)
coldDataAge(Duration) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.Builder
Set cold data age threshold 设置冷数据年龄阈值
coldKeyCount() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the coldKeyCount record component.
coldKeyPercentage() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Get cold key percentage 获取冷数据键百分比
coldKeys() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the coldKeys record component.
COLLECTED - Enum constant in enum class cloud.opencode.base.cache.model.RemovalCause
Entry was collected by garbage collector (weak/soft reference) 被垃圾回收器回收(弱引用/软引用)
collectionSize() - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher using collection size 创建使用集合大小的权重计算器
combine(RemovalListener...) - Static method in interface cloud.opencode.base.cache.spi.RemovalListener
Combine multiple listeners 组合多个监听器
combined(ValueWeigher, ValueWeigher) - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher that considers both key and value 创建同时考虑键和值的权重计算器
combined(Duration, Duration) - Static method in class cloud.opencode.base.cache.OpenCache
Create combined TTL and TTI expiry policy 创建组合 TTL 和 TTI 过期策略
combined(Duration, Duration) - Static method in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Create combined TTL and TTI policy 创建组合 TTL 和 TTI 策略
compareAndSwap(K, V, V, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Compare-and-swap operation.
compareStats(CacheStats, CacheStats) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Compare two statistics snapshots 比较两个统计快照
compress(byte[]) - Method in interface cloud.opencode.base.cache.compression.ValueCompressor
Compress data 压缩数据
compress(byte[]) - Method in class cloud.opencode.base.cache.compression.ValueCompressor.GzipCompressor
 
compress(byte[]) - Method in class cloud.opencode.base.cache.compression.ValueCompressor.NoOpCompressor
 
compressed(CacheSerializer) - Static method in interface cloud.opencode.base.cache.spi.CacheSerializer
Create a compressed serializer wrapper 创建压缩序列化器包装器
CompressedCache<K,V> - Class in cloud.opencode.base.cache.compression
Compressed Cache - Cache decorator that compresses values 压缩缓存 - 压缩值的缓存装饰器
CompressedCache.Builder<K,V> - Class in cloud.opencode.base.cache.compression
Builder for CompressedCache CompressedCache 构建器
CompressedCache.CompressionStats - Record Class in cloud.opencode.base.cache.compression
Compression statistics record 压缩统计记录
CompressedCache.ValueSerializer<V> - Interface in cloud.opencode.base.cache.compression
Value serializer for compression 用于压缩的值序列化器
CompressionAlgorithm - Enum Class in cloud.opencode.base.cache.compression
Compression Algorithm Enumeration 压缩算法枚举
CompressionException(String) - Constructor for exception class cloud.opencode.base.cache.compression.ValueCompressor.CompressionException
CompressionException | CompressionException
CompressionException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.compression.ValueCompressor.CompressionException
CompressionException | CompressionException
compressionRatio() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Get compression ratio (smaller is better) 获取压缩比(越小越好)
compressionStats() - Method in class cloud.opencode.base.cache.compression.CompressedCache
Get compression statistics 获取压缩统计
CompressionStats(CompressionAlgorithm, long, long, long, long, long, long) - Constructor for record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Creates an instance of a CompressionStats record class.
compressionThreshold() - Method in interface cloud.opencode.base.cache.compression.ValueCompressor
Get minimum size threshold for compression 获取压缩的最小大小阈值
compressionThreshold() - Method in class cloud.opencode.base.cache.compression.ValueCompressor.GzipCompressor
 
compressionThreshold() - Method in class cloud.opencode.base.cache.compression.ValueCompressor.NoOpCompressor
 
compressionThreshold() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the compressionThreshold record component.
compressionThreshold(int) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the compression threshold (bytes).
compressionTimeNanos() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns the value of the compressionTimeNanos record component.
compressor(ValueCompressor) - Method in class cloud.opencode.base.cache.compression.CompressedCache.Builder
Set compressor 设置压缩器
compute(K, BiFunction) - Method in interface cloud.opencode.base.cache.Cache
Compute a new value for the key 计算键的新值
compute(K, BiFunction) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
compute(K, BiFunction) - Method in class cloud.opencode.base.cache.ProtectedCache
 
compute(K, BiFunction) - Method in class cloud.opencode.base.cache.ReferenceCache
 
compute(K, BiFunction) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
compute(K, BiFunction) - Method in class cloud.opencode.base.cache.TimeoutCache
 
computeAll(Iterable, BiFunction) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Compute values for all specified keys 为所有指定的键计算值
computeAllIfAbsent(Iterable, Function) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Compute values for all absent keys 为所有不存在的键计算值
computeAsync(K, BiFunction) - Method in interface cloud.opencode.base.cache.AsyncCache
Async compute 异步计算
computeIfAbsent(K, Function) - Method in interface cloud.opencode.base.cache.Cache
Compute value if absent (alias for get with loader for Map API compatibility) 不存在时计算值(为 Map API 兼容性提供的 get with loader 别名)
computeIfPresent(K, BiFunction) - Method in interface cloud.opencode.base.cache.Cache
Compute a new value if key is present 如果键存在则计算新值
computeIfPresent(K, BiFunction) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
computeIfPresent(K, BiFunction) - Method in class cloud.opencode.base.cache.ProtectedCache
 
computeIfPresent(K, BiFunction) - Method in class cloud.opencode.base.cache.ReferenceCache
 
computeIfPresent(K, BiFunction) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
computeIfPresent(K, BiFunction) - Method in class cloud.opencode.base.cache.TimeoutCache
 
computeIfPresentAsync(K, BiFunction) - Method in interface cloud.opencode.base.cache.AsyncCache
Async compute if present 异步计算(如果存在)
concurrencyLevel() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the concurrency level | 返回并发级别
concurrencyLevel(int) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set concurrency level 设置并发级别
concurrent() - Static method in interface cloud.opencode.base.cache.spi.StatsCounter
Create concurrent counter using LongAdder 创建使用 LongAdder 的并发计数器
Config(int, Duration, int, double) - Constructor for record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Creates an instance of a Config record class.
Config(int, Duration, Duration) - Constructor for record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Compact canonical constructor with validation.
ConfigurationFactory() - Constructor for class cloud.opencode.base.cache.spring.CacheAutoConfiguration.ConfigurationFactory
Creates a new ConfigurationFactory instance | 创建新的配置工厂实例
connectionCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the connectionCount record component.
connectionCount(int) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
connectionCount | connectionCount
connectionTimeout() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the connectionTimeout record component.
connectionTimeout(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the connection timeout.
contains(K) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Check if key is in DLQ 检查键是否在 DLQ 中
containsKey(String, K) - Method in class cloud.opencode.base.cache.TenantCache
Check if key exists for tenant 检查租户的键是否存在
containsKey(K) - Method in interface cloud.opencode.base.cache.Cache
Check if key exists 检查键是否存在
containsKey(K) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.LayeredCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.NullSafeCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.ProtectedCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.ReferenceCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.TimeoutCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
containsKey(K) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
containsNullValue(K) - Method in class cloud.opencode.base.cache.NullSafeCache
Check if the key is present with a null value 检查键是否存在且值为 null
containsValue(V) - Method in interface cloud.opencode.base.cache.Cache
Check if cache contains a specific value 检查缓存是否包含特定值
copier(UnaryOperator) - Method in class cloud.opencode.base.cache.CopyOnReadCache.Builder
Set custom copier function 设置自定义复制函数
CopyOnReadCache<K,V> - Class in cloud.opencode.base.cache
Copy-on-Read Cache - Returns deep copies of cached values for thread safety 读时复制缓存 - 返回缓存值的深拷贝以保证线程安全
CopyOnReadCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for CopyOnReadCache
copyOnWrite(boolean) - Method in class cloud.opencode.base.cache.CopyOnReadCache.Builder
Also copy values on write operations 写入操作也复制值
corePoolSize(int) - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBuilder
Set core pool size 设置核心池大小
count() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.KeyAccessCount
Returns the value of the count record component.
count() - Method in class cloud.opencode.base.cache.query.CacheQuery
Execute and return count 执行并返回计数
counter(String, String[], T, ToLongFunction) - Method in interface cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.MeterRegistry
Register a function counter 注册函数计数器
create() - Static method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Create with default settings 使用默认设置创建
create() - Static method in class cloud.opencode.base.cache.CacheMetrics
Create new metrics instance 创建新的指标实例
create() - Static method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Create dispatcher with default settings 使用默认设置创建分发器
create() - Static method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Create exporter with default settings 使用默认设置创建导出器
create() - Static method in class cloud.opencode.base.cache.protection.CircuitBreaker
Create circuit breaker with defaults 使用默认配置创建熔断器
create() - Static method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Creates a GracefulDegradation instance with default configuration.
create() - Static method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Create with default settings 使用默认设置创建
create(long) - Static method in class cloud.opencode.base.cache.protection.BloomFilter
Create bloom filter for expected insertions with 1% FPP 创建预期插入数的布隆过滤器(1% 误判率)
create(long, double) - Static method in class cloud.opencode.base.cache.protection.BloomFilter
Create bloom filter with custom FPP 创建自定义误判率的布隆过滤器
create(MicrometerMetricsExporter.MeterRegistry) - Static method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter
Create exporter with registry 使用注册表创建导出器
create(CircuitBreaker.Config) - Static method in class cloud.opencode.base.cache.protection.CircuitBreaker
Create circuit breaker with config 使用配置创建熔断器
create(GracefulDegradation.Config) - Static method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Creates a GracefulDegradation instance with the specified configuration.
create(String) - Static method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Create exporter with namespace 使用命名空间创建导出器
create(String, Function) - Static method in interface cloud.opencode.base.cache.LoadingCache
Create a loading cache with default configuration 使用默认配置创建加载缓存
create(String, Function, CacheConfig) - Static method in interface cloud.opencode.base.cache.LoadingCache
Create a loading cache with the given loader 使用给定的加载器创建加载缓存
create(String, Function, CacheConfig) - Static method in class cloud.opencode.base.cache.ReadThroughCache
Create a new read-through cache with the given configuration 使用给定配置创建新的读穿透缓存
create(Consumer) - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration.ConfigurationFactory
Create cache manager with programmatic configuration 使用编程配置创建缓存管理器
createCache(String, CacheConfig) - Method in class cloud.opencode.base.cache.CacheManager
Create cache with configuration (always creates new) 创建带配置的缓存(总是创建新的)
createCacheManager(CacheProperties) - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration
Create OpenCodeCacheManager from CacheProperties 从 CacheProperties 创建 OpenCodeCacheManager
createCacheManager(CacheProperties, boolean) - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration
Create OpenCodeCacheManager from CacheProperties with optional validation 从 CacheProperties 创建 OpenCodeCacheManager,可选验证
createSimple(long, Duration) - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration.ConfigurationFactory
Create simple cache manager with basic settings 使用基本设置创建简单缓存管理器
createTime() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns the value of the createTime record component.
createWithCaches(String...) - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration.ConfigurationFactory
Create cache manager with named caches 创建带命名缓存的缓存管理器
createWithLoader(String, CacheLoader, CacheConfig) - Static method in interface cloud.opencode.base.cache.LoadingCache
Create a loading cache with CacheLoader 使用 CacheLoader 创建加载缓存
currentPending() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns the value of the currentPending record component.
currentRetryRatio() - Method in class cloud.opencode.base.cache.protection.RetryBudget
Returns the current retry ratio (retries / total requests).
currentSize() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Returns the value of the currentSize record component.
currentState() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Returns the value of the currentState record component.
custom(RefreshAheadPolicy.RefreshPredicate) - Static method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Create a custom refresh policy 创建自定义刷新策略

D

DeadLetterQueue<K> - Class in cloud.opencode.base.cache.dlq
Dead Letter Queue - Tracks failed cache load operations 死信队列 - 跟踪失败的缓存加载操作
DeadLetterQueue.Builder<K> - Class in cloud.opencode.base.cache.dlq
Builder for DeadLetterQueue DeadLetterQueue 构建器
DeadLetterQueue.DiscardReason - Enum Class in cloud.opencode.base.cache.dlq
Discard reason enumeration 丢弃原因枚举
DeadLetterQueue.DlqAnalysis<K> - Record Class in cloud.opencode.base.cache.dlq
DLQ analysis result DLQ 分析结果
DeadLetterQueue.DlqEventHandler<K> - Interface in cloud.opencode.base.cache.dlq
DLQ event handler DLQ 事件处理器
DeadLetterQueue.DlqStats - Record Class in cloud.opencode.base.cache.dlq
DLQ statistics DLQ 统计
DeadLetterQueue.FailedEntry<K> - Class in cloud.opencode.base.cache.dlq
Failed entry record 失败条目记录
decayFactor() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
Returns the value of the decayFactor record component.
decayPolicy(TtlDecayPolicy) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache.Builder
Set TTL decay policy 设置 TTL 衰减策略
decaySteps() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
Returns the value of the decaySteps record component.
decompress(byte[]) - Method in interface cloud.opencode.base.cache.compression.ValueCompressor
Decompress data 解压数据
decompress(byte[]) - Method in class cloud.opencode.base.cache.compression.ValueCompressor.GzipCompressor
 
decompress(byte[]) - Method in class cloud.opencode.base.cache.compression.ValueCompressor.NoOpCompressor
 
decompressionTimeNanos() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns the value of the decompressionTimeNanos record component.
decorate(Cache) - Static method in class cloud.opencode.base.cache.OpenCache
Start a decorator chain for the given cache 为给定的缓存开始装饰器链
decrement(K, long) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Atomically decrements a numeric value.
deduplicateWrites(boolean) - Method in class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Enable/disable write deduplication 启用/禁用写去重
deduplicationRate() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Get deduplication rate 获取去重率
defaultConfig() - Static method in class cloud.opencode.base.cache.config.CacheConfig
Create default configuration 创建默认配置
defaultConfig(Consumer) - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager.Builder
Set default cache configuration 设置默认缓存配置
defaultLevel() - Method in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Get default compression level 获取默认压缩级别
defaultMaxSize(long) - Method in class cloud.opencode.base.cache.TenantCache.Builder
Set default max size per tenant 设置每租户默认最大容量
defaults() - Static method in class cloud.opencode.base.cache.protection.TtlJitter
Creates a TtlJitter with a default 30-second jitter range.
defaults() - Static method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Default configuration: 5 failures, 30s recovery window, 10s health check interval.
defaults() - Static method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Returns default warming options | 返回默认预热选项
defaultTimeout(Duration) - Method in class cloud.opencode.base.cache.TimeoutCache.Builder
Set default timeout for operations 设置操作的默认超时
defaultTtl() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the defaultTtl record component.
defaultTtl(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the default TTL for entries.
defaultTtl(Duration) - Method in class cloud.opencode.base.cache.TenantCache.Builder
Set default TTL per tenant 设置每租户默认 TTL
defaultTtl(Duration) - Method in class cloud.opencode.base.cache.ttl.TtlPolicy.PatternBuilder
Set default TTL for non-matching keys 设置不匹配键的默认 TTL
DEGRADED - Enum constant in enum class cloud.opencode.base.cache.resilience.GracefulDegradation.State
Degraded mode, using local cache only. | 降级模式,仅使用本地缓存。
DEGRADED - Enum constant in enum class cloud.opencode.base.cache.spring.CacheHealthIndicator.Status
Degraded - some caches below threshold but functional
degradedRequests() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Returns the value of the degradedRequests record component.
delete(K) - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Queue a delete operation 队列删除操作
deleter(Consumer) - Method in class cloud.opencode.base.cache.WriteThroughCache.Builder
Set the deleter for cache invalidation 设置删除器用于缓存失效
deserialize(byte[]) - Method in interface cloud.opencode.base.cache.compression.CompressedCache.ValueSerializer
Deserialize bytes to value 将字节反序列化为值
deserialize(byte[]) - Method in interface cloud.opencode.base.cache.spi.CacheSerializer
Deserialize byte array to value 将字节数组反序列化为值
diagnose() - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Get validation diagnostics without throwing exceptions 获取验证诊断信息,不抛出异常
disabled() - Static method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Create a disabled policy (no refresh ahead) 创建禁用的策略(不提前刷新)
disabled() - Static method in interface cloud.opencode.base.cache.spi.StatsCounter
Create disabled counter (no-op) 创建禁用的计数器(空操作)
dispatch(CacheEvent) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Dispatch event synchronously to all listeners 同步分发事件到所有监听器
dispatchAll(Iterable) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Dispatch multiple events synchronously 同步分发多个事件
dispatchAllAsync(Iterable) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Dispatch multiple events asynchronously 异步分发多个事件
dispatchAsync(CacheEvent) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Dispatch event asynchronously 异步分发事件
dispatchTo(CacheEvent, CacheEventListener) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Dispatch event to specific listener only (V2.0.4) 仅分发事件到特定监听器
dispatchWithTimeout(CacheEvent, Duration) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Dispatch event with timeout (V2.0.4) 带超时分发事件
DistributedCache<K,V> - Interface in cloud.opencode.base.cache.distributed
Distributed Cache Interface - Abstraction for remote caching systems 分布式缓存接口 - 远程缓存系统抽象
DistributedCache.DistributedLock - Interface in cloud.opencode.base.cache.distributed
Handle for a distributed lock.
DistributedCache.ScanResult<K> - Record Class in cloud.opencode.base.cache.distributed
Result of a scan operation.
DistributedCache.Subscription - Interface in cloud.opencode.base.cache.distributed
Handle for a subscription.
DistributedCacheConfig - Record Class in cloud.opencode.base.cache.distributed
Configuration for Distributed Cache 分布式缓存配置
DistributedCacheConfig(String, String, Duration, Duration, Duration, int, Duration, boolean, int, boolean, boolean, int, Duration, CacheSerializer, CacheSerializer, String) - Constructor for record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Creates an instance of a DistributedCacheConfig record class.
DistributedCacheConfig.Builder - Class in cloud.opencode.base.cache.distributed
Builder for DistributedCacheConfig.
DistributedCacheStats - Record Class in cloud.opencode.base.cache.distributed
Statistics for Distributed Cache 分布式缓存统计信息
DistributedCacheStats(long, long, long, long, long, Duration, long, long, int, long, long, Duration, Duration, Instant) - Constructor for record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Creates an instance of a DistributedCacheStats record class.
DistributedCacheStats.Builder - Class in cloud.opencode.base.cache.distributed
Builder for DistributedCacheStats.
DlqAnalysis(int, int, double, Map, Instant, Instant, List) - Constructor for record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Creates an instance of a DlqAnalysis record class.
DlqStats(long, long, long, long, int) - Constructor for record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Creates an instance of a DlqStats record class.
DOWN - Enum constant in enum class cloud.opencode.base.cache.spring.CacheHealthIndicator.Status
Down - critical issues detected
drain(int) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Drain up to N entries from the DLQ 从 DLQ 排空最多 N 个条目
drainAll() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Drain all entries 排空所有条目
drainMatching(Predicate) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Drain entries matching predicate 排空匹配谓词的条目
duration() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the value of the duration record component.
duration() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Returns the value of the duration record component.

E

elapsed() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns the value of the elapsed record component.
empty() - Static method in interface cloud.opencode.base.cache.CacheStats
Get empty stats instance 获取空统计实例
empty() - Static method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Creates an empty stats instance.
empty() - Static method in interface cloud.opencode.base.cache.spi.CacheWarmer
Create empty warmer 创建空预热器
enableCompression() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the enableCompression record component.
enableCompression(boolean) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Enables value compression.
enableLocalCache() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the enableLocalCache record component.
enableLocalCache(boolean) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Enables local (L1) caching.
enableStats() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the enableStats record component.
enableStats(boolean) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Enables statistics collection.
entries() - Method in interface cloud.opencode.base.cache.Cache
Get snapshot of all entries 获取所有条目的快照
entries() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
entries() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
entries() - Method in class cloud.opencode.base.cache.LayeredCache
 
entries() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
entries() - Method in class cloud.opencode.base.cache.NullSafeCache
 
entries() - Method in class cloud.opencode.base.cache.ProtectedCache
 
entries() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Returns the value of the entries record component.
entries() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
entries() - Method in class cloud.opencode.base.cache.ReferenceCache
 
entries() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
entries() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
entries() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
entries() - Method in class cloud.opencode.base.cache.TimeoutCache
 
entries() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
entries() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
entries() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
entriesFlux() - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get all entries as a Publisher 获取所有条目作为 Publisher
entriesLoaded() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Returns the value of the entriesLoaded record component.
entryFilter(BiPredicate) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by entry predicate (key and value) 通过条目谓词过滤(键和值)
entryIterator() - Method in interface cloud.opencode.base.cache.Cache
Get a lazy iterator over entries (memory efficient) 获取条目的惰性迭代器(内存高效)
entryParallelStream() - Method in interface cloud.opencode.base.cache.Cache
Get a parallel stream over entries 获取条目的并行流
entryStream() - Method in interface cloud.opencode.base.cache.Cache
Get a lazy stream over entries (memory efficient) 获取条目的惰性流(内存高效)
equals(Object) - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.KeyAccessCount
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.TtlValue
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.distributed.DistributedCache.ScanResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.event.CacheEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.model.CacheEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.ProtectedCache.ProtectionStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.RefreshAheadCache.RefreshStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.spi.EvictionPolicy.WeightedPolicy
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Get
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetAll
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetWithLoader
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Invalidate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.InvalidateAll
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Put
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAll
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAllWithTtl
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsentWithTtl
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutWithTtl
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.Step
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.PriorityKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Indicates whether some other object is "equal to" this one.
error() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns the value of the error record component.
error() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Returns the value of the error record component.
errorCount() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Returns the value of the errorCount record component.
errorHandler(CacheEventDispatcher.EventErrorHandler) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher.Builder
Set error handler 设置错误处理器
errorHandler(WriteCoalescer.WriteErrorHandler) - Method in class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Set error handler 设置错误处理器
errorRate() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Returns the error rate | 返回错误率
errorRate() - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Get error rate 获取错误率
errorRate() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Get error rate 获取错误率
errors() - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Returns the value of the errors record component.
errorTypeCounts() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns the value of the errorTypeCounts record component.
estimatedMemory() - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher that estimates memory size for common types 创建估算常见类型内存大小的权重计算器
estimatedSize() - Method in interface cloud.opencode.base.cache.Cache
Get estimated entry count (fast) 获取估算条目数(快速)
estimatedSize() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.LayeredCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.NullSafeCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.ProtectedCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.ReferenceCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.TimeoutCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
estimatedSize() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
estimateSize(V) - Method in interface cloud.opencode.base.cache.spi.CacheSerializer
Estimate serialized size 估算序列化后的大小
eternal() - Static method in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Create policy that never expires 创建永不过期的策略
eventHandler(DeadLetterQueue.DlqEventHandler) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
eventHandler | eventHandler
eventHandler(CacheWarmer.WarmingEventHandler) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Sets the event handler | 设置事件处理器
eventsDispatched() - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Returns the value of the eventsDispatched record component.
eventsDropped() - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Returns the value of the eventsDropped record component.
evict(String, K, V, RemovalCause) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create EVICT event 创建 EVICT 事件
EVICT - Enum constant in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Entry evicted due to size/weight limit 条目因容量/权重限制被淘汰
evictionCount() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the evictionCount record component.
evictionCount() - Method in interface cloud.opencode.base.cache.CacheStats
Get eviction count 获取淘汰次数
evictionCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the evictionCount record component.
evictionCount() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the evictionCount record component.
evictionCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
evictionCount | evictionCount
evictionPolicy() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the eviction policy | 返回淘汰策略
evictionPolicy(EvictionPolicy) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set eviction policy 设置淘汰策略
evictionPolicy(EvictionPolicy) - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
Sets the eviction policy | 设置淘汰策略
EvictionPolicy<K,V> - Interface in cloud.opencode.base.cache.spi
Eviction Policy SPI - Cache entry eviction strategy interface 淘汰策略 SPI - 缓存条目淘汰策略接口
EvictionPolicy.WeightedPolicy<K,V> - Record Class in cloud.opencode.base.cache.spi
Weighted policy wrapper 加权策略包装器
evictionRateThreshold(double) - Method in class cloud.opencode.base.cache.spring.CacheHealthIndicator
Set eviction rate threshold for warnings 设置驱逐率警告阈值
evictionWeight() - Method in interface cloud.opencode.base.cache.CacheStats
Get eviction weight 获取淘汰权重
execute() - Method in class cloud.opencode.base.cache.query.CacheQuery
Execute query and return result 执行查询并返回结果
execute(Runnable) - Method in class cloud.opencode.base.cache.resilience.RetryExecutor
Executes a void operation with retry.
execute(Supplier) - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Execute operation with bulkhead protection 在舱壁保护下执行操作
execute(Supplier) - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBulkhead
 
execute(Supplier) - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBulkhead
 
execute(Supplier) - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Execute operation with circuit breaker protection 在熔断器保护下执行操作
execute(Supplier) - Method in class cloud.opencode.base.cache.resilience.RetryExecutor
Executes an operation with retry and returns its result.
execute(Supplier, Supplier) - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Execute operation with fallback 执行操作并带降级
execute(Supplier, Supplier) - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Execute operation with fallback 执行操作并带降级
execute(K, Function) - Method in class cloud.opencode.base.cache.protection.SingleFlight
Execute loader, coalescing concurrent requests for the same key 执行加载器,合并相同键的并发请求
execute(K, Function, Duration) - Method in class cloud.opencode.base.cache.protection.SingleFlight
Execute loader with timeout 带超时执行加载器
executeAsync(Supplier) - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Execute async operation 异步执行操作
executeAsync(Supplier) - Method in class cloud.opencode.base.cache.resilience.RetryExecutor
Executes an async operation with retry, returning a CompletableFuture.
executeAsync(Supplier) - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Execute operation asynchronously 异步执行操作
executeAsync(Supplier) - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBulkhead
 
executeAsync(Supplier) - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBulkhead
 
executeAsync(K, Function) - Method in class cloud.opencode.base.cache.protection.SingleFlight
Execute async loader 异步执行加载器
executionTimeMs() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Get execution time in milliseconds 获取执行时间(毫秒)
executionTimeNanos() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Returns the value of the executionTimeNanos record component.
executor() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the executor | 返回执行器
executor(Executor) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set custom executor for async operations 设置自定义执行器用于异步操作
executor(Executor) - Method in class cloud.opencode.base.cache.RefreshAheadCache.Builder
Set executor for async refresh 设置异步刷新执行器
executor(ExecutorService) - Method in class cloud.opencode.base.cache.TimeoutCache.Builder
Set custom executor for async operations 设置异步操作的自定义执行器
exists() - Method in class cloud.opencode.base.cache.query.CacheQuery
Check if any entry matches 检查是否有任何条目匹配
exists(K) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Checks if a key exists.
expectedFpp() - Method in class cloud.opencode.base.cache.protection.BloomFilter
Get expected false positive probability based on current insertions 获取基于当前插入数的预期误判率
expire(String, K, V) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create EXPIRE event 创建 EXPIRE 事件
EXPIRE - Enum constant in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Entry expired 条目过期
expireAfterAccess() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the expire-after-access duration | 返回访问后过期时间
expireAfterAccess(Duration) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set expiration after access (TTI) 设置访问后过期时间(TTI)
expireAfterAccess(Duration) - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
expireAfterAccess | expireAfterAccess
expireAfterCreate(K, V) - Method in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Calculate expiration duration after create 计算创建后的过期时长
expireAfterRead(K, V, Duration) - Method in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Calculate expiration duration after read 计算读取后的过期时长
expireAfterUpdate(K, V, Duration) - Method in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Calculate expiration duration after update 计算更新后的过期时长
expireAfterWrite() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the expire-after-write duration | 返回写入后过期时间
expireAfterWrite(Duration) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set expiration after write (TTL) 设置写入后过期时间(TTL)
expireAfterWrite(Duration) - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
expireAfterWrite | expireAfterWrite
EXPIRED - Enum constant in enum class cloud.opencode.base.cache.model.RemovalCause
Entry expired (TTL or TTI) 过期移除(TTL 或 TTI)
expiryPolicy() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the expiry policy | 返回过期策略
expiryPolicy(ExpiryPolicy) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set expiry policy 设置过期策略
expiryPolicy(ExpiryPolicy) - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
Sets the expiry policy | 设置过期策略
ExpiryPolicy<K,V> - Interface in cloud.opencode.base.cache.spi
Expiry Policy SPI - Cache entry expiration strategy interface 过期策略 SPI - 缓存条目过期策略接口
EXPLICIT - Enum constant in enum class cloud.opencode.base.cache.model.RemovalCause
Entry was explicitly removed by user (invalidate) 用户显式移除(invalidate 调用)
exponential(Duration, Duration, double) - Static method in interface cloud.opencode.base.cache.ttl.TtlDecayPolicy
Create exponential decay policy 创建指数衰减策略
EXPONENTIAL - Enum constant in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Exponential delay strategy | 指数延迟策略
EXPONENTIAL_JITTER - Enum constant in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Exponential delay with jitter strategy | 带抖动的指数延迟策略
exponentialBackoff(int, Duration, Duration) - Static method in interface cloud.opencode.base.cache.spi.RetryPolicy
Exponential backoff retry policy 指数退避重试策略
exponentialBackoffWithJitter(int, Duration, Duration) - Static method in interface cloud.opencode.base.cache.spi.RetryPolicy
Exponential backoff with jitter 带抖动的指数退避
ExponentialDecay(Duration, Duration, double) - Constructor for record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
public ExponentialDecay
export() - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Export all metrics in Prometheus format 以 Prometheus 格式导出所有指标
export(Writer) - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Export all metrics to writer 将所有指标导出到写入器
extend(Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache.DistributedLock
Extends the lock TTL.
extractPrefix(String) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Extract prefix from a composite key 从复合键中提取前缀
extractSuffix(String) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Extract suffix from a composite key 从复合键中提取后缀

F

failedCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns the value of the failedCount record component.
failedCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the value of the failedCount record component.
failedDeletes() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Returns the value of the failedDeletes record component.
failedKeys() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the value of the failedKeys record component.
failedPuts() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Returns the value of the failedPuts record component.
failedWrites() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Returns the value of the failedWrites record component.
failoverCount() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Returns the value of the failoverCount record component.
failureCount() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry
failureCount | failureCount
failureCount() - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Returns the value of the failureCount record component.
failureCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
failureCount | failureCount
failureRateThreshold() - Method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Returns the value of the failureRateThreshold record component.
failureRateThreshold(double) - Method in class cloud.opencode.base.cache.protection.CircuitBreaker.Config.Builder
failureRateThreshold | failureRateThreshold
failures() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
failures | failures
failureThreshold() - Method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Returns the value of the failureThreshold record component.
failureThreshold() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Returns the value of the failureThreshold record component.
failureThreshold(int) - Method in class cloud.opencode.base.cache.protection.CircuitBreaker.Config.Builder
failureThreshold | failureThreshold
fallback(Function) - Method in class cloud.opencode.base.cache.ReadThroughCache.Builder
Set the fallback function for when loading returns null 设置加载返回 null 时的降级函数
fallback(Function) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set fallback function 设置回退函数
fallback(V) - Method in class cloud.opencode.base.cache.ReadThroughCache.Builder
Set a static fallback value 设置静态降级值
fallbackValue(V) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set fallback value 设置回退值
fifo() - Static method in class cloud.opencode.base.cache.OpenCache
Create FIFO eviction policy 创建 FIFO 淘汰策略
fifo() - Static method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Create FIFO (First In First Out) policy 创建 FIFO(先进先出)策略
fifoCache(long) - Static method in class cloud.opencode.base.cache.OpenCache
Create a simple FIFO cache with given maximum size 创建具有给定最大容量的简单 FIFO 缓存
finished() - Method in record class cloud.opencode.base.cache.distributed.DistributedCache.ScanResult
Returns the value of the finished record component.
first() - Method in class cloud.opencode.base.cache.query.CacheQuery
Execute and return first match 执行并返回第一个匹配项
firstFailure() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry
firstFailure | firstFailure
fixed(long) - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher with fixed weight per entry 创建每个条目固定权重的权重计算器
fixed(Duration) - Static method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a fixed TTL policy 创建固定 TTL 策略
FIXED - Enum constant in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Fixed delay strategy | 固定延迟策略
fixedDelay(int, Duration) - Static method in interface cloud.opencode.base.cache.spi.RetryPolicy
Fixed delay retry policy 固定延迟重试策略
flush() - Method in class cloud.opencode.base.cache.LayeredCache
Flushes L1 to L2 (for write-back strategy) 将L1刷新到L2(用于写回策略)
flush() - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Flush all pending writes 刷新所有待处理的写操作
flush() - Method in class cloud.opencode.base.cache.WriteBehindCache
Force flush all pending writes immediately 立即强制刷新所有待写入
flushInterval(Duration) - Method in class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Set flush interval 设置刷新间隔
flushInterval(Duration) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set flush interval 设置刷新间隔
forceRefresh() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Returns the value of the forceRefresh record component.
forceRefresh(boolean) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions.Builder
Sets force refresh | 设置强制刷新
forceRefresh(K) - Method in class cloud.opencode.base.cache.RefreshAheadCache
Force refresh a specific key 强制刷新特定键
forEach(BiConsumer) - Method in interface cloud.opencode.base.cache.Cache
Iterate over all entries with a consumer (memory efficient) 使用消费者遍历所有条目(内存高效)
forEachKey(Consumer) - Method in interface cloud.opencode.base.cache.Cache
Iterate over all keys with a consumer 使用消费者遍历所有键
forEachValue(Consumer) - Method in interface cloud.opencode.base.cache.Cache
Iterate over all values with a consumer 使用消费者遍历所有值
format() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Format as human-readable string 格式化为可读字符串
formatStats(CacheStats) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Format cache statistics 格式化缓存统计
formatStatsJson(CacheStats) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Format statistics as JSON-like string 格式化统计为类 JSON 字符串
forTenant(String) - Method in class cloud.opencode.base.cache.TenantCache
Get tenant-scoped cache view 获取租户作用域的缓存视图
forTypes(Set, Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for specific event types 为特定事件类型创建监听器
frequentFailures() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns the value of the frequentFailures record component.
from(Cache) - Static method in class cloud.opencode.base.cache.query.CacheQuery
Create a query for a cache 为缓存创建查询
from(CacheLoader) - Static method in interface cloud.opencode.base.cache.spi.AsyncCacheLoader
Create from sync loader 从同步加载器创建
from(Supplier) - Static method in interface cloud.opencode.base.cache.spi.CacheWarmer
Create warmer from supplier 从 Supplier 创建预热器
fromId(int) - Static method in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Get algorithm by ID 根据 ID 获取算法
fromName(String) - Static method in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Get algorithm by name 根据名称获取算法
fromSpec(String) - Static method in class cloud.opencode.base.cache.OpenCache
Create anonymous cache from specification string 从规范字符串创建匿名缓存
fromSpec(String, String) - Static method in class cloud.opencode.base.cache.OpenCache
Create cache from specification string 从规范字符串创建缓存

G

gauge(String, String[], T, ToDoubleFunction) - Method in interface cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.MeterRegistry
Register a gauge 注册仪表
get(String) - Static method in class cloud.opencode.base.cache.OpenCache
Get existing cache by name 按名称获取已存在的缓存
get(String, K) - Method in class cloud.opencode.base.cache.TenantCache
Get value for tenant and key 获取租户和键对应的值
get(String, K, Function) - Method in class cloud.opencode.base.cache.TenantCache
Get value with loader 使用加载器获取值
get(K) - Method in interface cloud.opencode.base.cache.Cache
Get value by key, returns null if not present 根据键获取值,不存在返回 null
get(K) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
get(K) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
get(K) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets a value by key.
get(K) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Get failed entry for key 获取键的失败条目
get(K) - Method in class cloud.opencode.base.cache.LayeredCache
 
get(K) - Method in interface cloud.opencode.base.cache.LoadingCache
Get value, automatically loading if not present 获取值,不存在时自动加载
get(K) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
get(K) - Method in class cloud.opencode.base.cache.NullSafeCache
 
get(K) - Method in class cloud.opencode.base.cache.ProtectedCache
 
get(K) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
get(K) - Method in class cloud.opencode.base.cache.ReferenceCache
 
get(K) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
get(K) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
get(K) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
get(K) - Method in class cloud.opencode.base.cache.TimeoutCache
 
get(K) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
get(K) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
get(K) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
get(K, Cache, DistributedCache) - Method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Retrieves a value, trying distributed cache first with automatic local cache fallback.
get(K, Function) - Method in interface cloud.opencode.base.cache.Cache
Get value by key, load using loader if not present 根据键获取值,不存在时通过 loader 加载
get(K, Function) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.LayeredCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.NullSafeCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.ProtectedCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.ReferenceCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.TimeoutCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
get(K, Function) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
Get(K) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Get
Creates an instance of a Get record class.
GET - Enum constant in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Entry accessed 条目访问
getAccessCount(K) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get access count for a specific key 获取特定键的访问计数
getAll(Iterable) - Method in interface cloud.opencode.base.cache.Cache
Get all values for given keys, returns only existing entries 批量获取,仅返回存在的条目
getAll(Iterable) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.LayeredCache
 
getAll(Iterable) - Method in interface cloud.opencode.base.cache.LoadingCache
Get all values for given keys, loading missing entries 获取所有键的值,加载缺失的条目
getAll(Iterable) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.NullSafeCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.ProtectedCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.ReferenceCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.TimeoutCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
getAll(Iterable) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
getAll(Iterable, Function) - Method in interface cloud.opencode.base.cache.Cache
Get all values, load missing keys using loader 批量获取,缺失的键通过 loader 加载
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.LayeredCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.NullSafeCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.ProtectedCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.ReferenceCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.TimeoutCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
getAll(Iterable, Function) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
getAll(Collection) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets multiple values by keys.
GetAll(Iterable) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetAll
Creates an instance of a GetAll record class.
getAllAsync(Iterable) - Method in interface cloud.opencode.base.cache.AsyncCache
Async batch get 异步批量获取
getAllAsync(Collection) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets multiple values asynchronously.
getAllFlux(Iterable) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get all values as a Publisher (emits each value) 获取所有值作为 Publisher(发射每个值)
getAllPending() - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Get all pending writes 获取所有待处理的写操作
getAllStats() - Method in class cloud.opencode.base.cache.CacheManager
Get statistics for all caches 获取所有缓存的统计信息
getAllStats() - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Get statistics for all managed caches 获取所有管理缓存的统计信息
getAllWithTimeout(Iterable, Function, Duration) - Method in class cloud.opencode.base.cache.TimeoutCache
Get all with explicit timeout 使用显式超时批量获取
getAndRemove(K) - Method in interface cloud.opencode.base.cache.Cache
Get value and remove the entry atomically 原子地获取值并删除条目
getAndRemove(K) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
getAndRemove(K) - Method in class cloud.opencode.base.cache.ProtectedCache
 
getAndRemove(K) - Method in class cloud.opencode.base.cache.ReferenceCache
 
getAndRemove(K) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
getAndRemove(K) - Method in class cloud.opencode.base.cache.TimeoutCache
 
getAndRemoveAsync(K) - Method in interface cloud.opencode.base.cache.AsyncCache
Async get and remove 异步获取并删除
getAsync(K) - Method in interface cloud.opencode.base.cache.AsyncCache
Async get value by key 异步获取值
getAsync(K) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets a value asynchronously.
getAsync(K) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get value asynchronously 异步获取值
getAsync(K, BiFunction) - Method in interface cloud.opencode.base.cache.AsyncCache
Async get with loader 异步获取,不存在时加载
getAutoConfigurationClassName() - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration
Get the auto-configuration class name for META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports 获取自动配置类名,用于 META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
getAverageGetLatency() - Method in class cloud.opencode.base.cache.CacheMetrics
Get average get latency in nanoseconds 获取平均获取延迟(纳秒)
getAverageLoadLatency() - Method in class cloud.opencode.base.cache.CacheMetrics
Get average load latency in nanoseconds 获取平均加载延迟(纳秒)
getAveragePutLatency() - Method in class cloud.opencode.base.cache.CacheMetrics
Get average put latency in nanoseconds 获取平均放入延迟(纳秒)
getBottomK(int) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get bottom K least accessed keys 获取访问最少的 Bottom K 键
getByPattern(String) - Method in interface cloud.opencode.base.cache.Cache
Get entries matching a key pattern 获取匹配键模式的条目
getCache(String) - Method in class cloud.opencode.base.cache.CacheManager
Get existing cache 获取已存在的缓存
getCache(String) - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
 
getCacheManagerClassName() - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration
Get the cache manager class name for bean registration 获取缓存管理器类名,用于 bean 注册
getCacheMetrics(String) - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Get metrics for a specific cache 获取特定缓存的指标
getCacheName() - Method in exception class cloud.opencode.base.cache.exception.OpenCacheException
Get cache name 获取缓存名称
getCacheNames() - Method in class cloud.opencode.base.cache.CacheManager
Get all cache names 获取所有缓存名称
getCacheNames() - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
 
getCaches() - Method in class cloud.opencode.base.cache.spring.CacheProperties
Returns the named cache configurations | 返回命名缓存配置
getCachesByPattern(String) - Method in class cloud.opencode.base.cache.CacheManager
Get caches matching a name pattern (supports * and ?
getCacheStats(String) - Method in class cloud.opencode.base.cache.CacheManager
Get statistics for a specific cache by name 按名称获取特定缓存的统计信息
getCacheStats(String) - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Get statistics for a specific cache 获取特定缓存的统计信息
getColdKeys() - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get cold keys (not accessed recently) 获取冷数据键(最近未访问)
getCombinedStats() - Method in class cloud.opencode.base.cache.CacheManager
Get combined statistics 获取合并的统计信息
getCombinedStats() - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Get combined statistics across all caches 获取所有缓存的合并统计信息
getConcurrencyLevel() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the concurrency level | 返回并发级别
getCount() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the getCount record component.
getCurrentSize() - Method in exception class cloud.opencode.base.cache.TenantCache.TenantQuotaExceededException
getCurrentSize | getCurrentSize
getDefaultSpec() - Method in class cloud.opencode.base.cache.spring.CacheProperties
Returns the default cache spec | 返回默认缓存规格
getDefaultTimeout() - Method in class cloud.opencode.base.cache.TimeoutCache
Get the default timeout 获取默认超时
getDelay(int) - Method in class cloud.opencode.base.cache.spi.RetryPolicy.CustomRetryPolicy
 
getDelay(int) - Method in class cloud.opencode.base.cache.spi.RetryPolicy.ExponentialBackoff
 
getDelay(int) - Method in class cloud.opencode.base.cache.spi.RetryPolicy.FixedDelay
 
getDelay(int) - Method in interface cloud.opencode.base.cache.spi.RetryPolicy
Calculate delay before the next retry attempt 计算下次重试前的延迟
getDelay(int) - Method in class cloud.opencode.base.cache.spi.RetryPolicy.NoRetry
 
getDelegate() - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get the underlying cache 获取底层缓存
getDelegate() - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Get underlying OpenCode CacheManager 获取底层 OpenCode CacheManager
getDelegate() - Method in class cloud.opencode.base.cache.TimeoutCache
Get the underlying cache 获取底层缓存
getEffectiveTtl(K) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
Get the effective TTL for an existing entry 获取现有条目的有效 TTL
getEvictionCount() - Method in class cloud.opencode.base.cache.CacheMetrics
Get total eviction count 获取总淘汰数
getEvictionPolicy() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the eviction policy name | 返回淘汰策略名称
getExpireAfterAccess() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the expire-after-access duration | 返回访问后过期时间
getExpireAfterWrite() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the expire-after-write duration | 返回写入后过期时间
getFailedKeys() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Get all failed keys 获取所有失败的键
getGetCount() - Method in class cloud.opencode.base.cache.CacheMetrics
Get total get operation count 获取总获取操作数
getGetLatencyP50() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P50 (median) get latency in nanoseconds 获取 P50(中位数)获取延迟(纳秒)
getGetLatencyP95() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P95 get latency in nanoseconds 获取 P95 获取延迟(纳秒)
getGetLatencyP99() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P99 get latency in nanoseconds 获取 P99 获取延迟(纳秒)
getGetThroughput() - Method in class cloud.opencode.base.cache.CacheMetrics
Get operations per second for get operations 获取获取操作的每秒操作数
getHit(String, K, V) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create GET event (hit) 创建 GET 事件(命中)
getHotKeys() - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get hot keys (frequently accessed) 获取热点键(频繁访问)
getIfPresent(K) - Method in interface cloud.opencode.base.cache.Cache
Get value only if present, without triggering loader 仅在存在时获取值,不触发加载器
getIfPresent(K) - Method in class cloud.opencode.base.cache.NullSafeCache
Get value as Optional, distinguishing null from absent 以 Optional 形式获取值,区分 null 和不存在
getInFlightRefreshCount() - Method in class cloud.opencode.base.cache.RefreshAheadCache
Get count of in-flight refreshes 获取正在进行的刷新数量
getInitialCapacity() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the initial capacity | 返回初始容量
getInstance() - Static method in class cloud.opencode.base.cache.CacheManager
Get singleton instance 获取单例实例
getInstance() - Static method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Get singleton instance 获取单例实例
getJitterRange() - Method in class cloud.opencode.base.cache.protection.TtlJitter
Returns the configured maximum jitter range.
getKey() - Method in exception class cloud.opencode.base.cache.exception.OpenCacheException
Get key 获取键
getLastAccess(K) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get last access time for a key 获取键的最后访问时间
getLatencyP50() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the getLatencyP50 record component.
getLatencyP95() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the getLatencyP95 record component.
getLatencyP99() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the getLatencyP99 record component.
getLevel(int) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
Get cache at specific level 获取特定级别的缓存
getLevelMetrics() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
Get metrics for all levels 获取所有级别的指标
getLoadCount() - Method in class cloud.opencode.base.cache.CacheMetrics
Get total load operation count 获取总加载操作数
getLoadLatencyP50() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P50 (median) load latency in nanoseconds 获取 P50(中位数)加载延迟(纳秒)
getLoadLatencyP95() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P95 load latency in nanoseconds 获取 P95 加载延迟(纳秒)
getLoadLatencyP99() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P99 load latency in nanoseconds 获取 P99 加载延迟(纳秒)
getMaxGetLatency() - Method in class cloud.opencode.base.cache.CacheMetrics
Get maximum get latency in nanoseconds 获取最大获取延迟(纳秒)
getMaximumSize() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the maximum size | 返回最大大小
getMaximumWeight() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the maximum weight | 返回最大权重
getMetrics() - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Get dispatcher metrics 获取分发器指标
getMetrics() - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Get current metrics 获取当前指标
getMetrics() - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBulkhead
 
getMetrics() - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBulkhead
 
getMetrics() - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Get warming metrics 获取预热指标
getMinGetLatency() - Method in class cloud.opencode.base.cache.CacheMetrics
Get minimum get latency in nanoseconds 获取最小获取延迟(纳秒)
getMiss(String, K) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create GET event (miss) 创建 GET 事件(未命中)
getMissCount(K) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get miss count for a specific key 获取特定键的未命中计数
getMono(K) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get value as a Publisher (JDK Flow API) 获取值作为 Publisher(JDK Flow API)
getMultiLevelStats() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
Get aggregate statistics 获取聚合统计
getOptional(K) - Method in interface cloud.opencode.base.cache.Cache
Get value as Optional, distinguishing "not present" from "null value" 以 Optional 形式获取值,区分"不存在"和"值为 null"
getOrCreate(String) - Static method in class cloud.opencode.base.cache.OpenCache
Get or create named cache 获取或创建命名缓存
getOrCreate(String, Consumer) - Static method in class cloud.opencode.base.cache.OpenCache
Get or create named cache with configuration 获取或创建带配置的命名缓存
getOrCreateCache(String) - Method in class cloud.opencode.base.cache.CacheManager
Get or create cache with default configuration 获取或创建默认配置的缓存
getOrCreateCache(String, Consumer) - Method in class cloud.opencode.base.cache.CacheManager
Get or create cache with configuration 获取或创建带配置的缓存
getOrDefault(K, V) - Method in interface cloud.opencode.base.cache.Cache
Get value or return default if not present 获取值,不存在则返回默认值
getOrDefault(K, V) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
getOrDefault(K, V) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
getOrDefault(K, V) - Method in class cloud.opencode.base.cache.TimeoutCache
 
getOrLoad(K, Function) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get or load value asynchronously 异步获取或加载值
getOrLoad(K, Function, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets a value by key, or loads it using the provided function if absent.
getOrLoadMono(K, Function) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get or load value as a Publisher 获取或加载值作为 Publisher
getOrNull(K) - Method in interface cloud.opencode.base.cache.Cache
Get value or null if not present (explicit null return) 获取值,不存在时显式返回 null
getPending(K) - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Get pending write for a key 获取键的待处理写操作
getPolicy() - Method in class cloud.opencode.base.cache.resilience.RetryExecutor
Returns the retry policy backing this executor.
getPropertiesClassName() - Static method in class cloud.opencode.base.cache.spring.CacheAutoConfiguration
Get the properties class name for @ConfigurationProperties 获取属性类名,用于 @ConfigurationProperties
getProtectionStats() - Method in class cloud.opencode.base.cache.ProtectedCache
Get protection statistics 获取保护统计
getPutCount() - Method in class cloud.opencode.base.cache.CacheMetrics
Get total put operation count 获取总放入操作数
getPutLatencyP50() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P50 (median) put latency in nanoseconds 获取 P50(中位数)放入延迟(纳秒)
getPutLatencyP95() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P95 put latency in nanoseconds 获取 P95 放入延迟(纳秒)
getPutLatencyP99() - Method in class cloud.opencode.base.cache.CacheMetrics
Get P99 put latency in nanoseconds 获取 P99 放入延迟(纳秒)
getPutThroughput() - Method in class cloud.opencode.base.cache.CacheMetrics
Get operations per second for put operations 获取放入操作的每秒操作数
getQuota() - Method in exception class cloud.opencode.base.cache.TenantCache.TenantQuotaExceededException
getQuota | getQuota
getRefreshAfterWrite() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns the refresh-after-write duration | 返回写入后刷新时间
getRefreshStats() - Method in class cloud.opencode.base.cache.RefreshAheadCache
Get refresh statistics 获取刷新统计
getRegisteredCaches() - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Get registered cache names 获取已注册的缓存名称
getRetryRatio() - Method in class cloud.opencode.base.cache.protection.RetryBudget
Returns the configured maximum retry ratio.
getState() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Get current state 获取当前状态
getStats() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Get DLQ statistics 获取 DLQ 统计
getStats() - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Get warming statistics 获取预热统计
getStats() - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Get coalescer statistics 获取合并器统计
getTenantId() - Method in exception class cloud.opencode.base.cache.TenantCache.TenantQuotaExceededException
getTenantId | getTenantId
getThroughput() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the getThroughput record component.
getTopK() - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get top K most accessed keys 获取访问最多的 Top K 键
getTopK(int) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get top K most accessed keys 获取访问最多的 Top K 键
getTotalRequests() - Method in class cloud.opencode.base.cache.protection.RetryBudget
Returns the total number of original requests recorded.
getTotalRetries() - Method in class cloud.opencode.base.cache.protection.RetryBudget
Returns the total number of retries recorded.
getTtl(K) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets the remaining TTL for a key.
getUptime() - Method in class cloud.opencode.base.cache.CacheMetrics
Get uptime duration 获取运行时间
getValue(String, K) - Static method in class cloud.opencode.base.cache.OpenCache
Get value from named cache 从命名缓存中获取值
GetWithLoader(K) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetWithLoader
Creates an instance of a GetWithLoader record class.
getWithTimeout(K, Function, Duration) - Method in class cloud.opencode.base.cache.TimeoutCache
Get with explicit timeout 使用显式超时获取
GracefulDegradation<K,V> - Class in cloud.opencode.base.cache.resilience
Graceful Degradation — Automatic fallback from distributed cache to local cache.
GracefulDegradation.Config - Record Class in cloud.opencode.base.cache.resilience
Configuration for graceful degradation behavior.
GracefulDegradation.State - Enum Class in cloud.opencode.base.cache.resilience
Represents the degradation state of the system.
GracefulDegradation.Stats - Record Class in cloud.opencode.base.cache.resilience
Snapshot of degradation system statistics.
gzip() - Static method in interface cloud.opencode.base.cache.compression.ValueCompressor
Create GZIP compressor with default settings 使用默认设置创建 GZIP 压缩器
gzip(int) - Static method in interface cloud.opencode.base.cache.compression.ValueCompressor
Create GZIP compressor with custom threshold 使用自定义阈值创建 GZIP 压缩器
GZIP - Enum constant in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
GZIP compression - Good compression ratio, moderate speed GZIP 压缩 - 压缩率好,速度适中

H

HALF_OPEN - Enum constant in enum class cloud.opencode.base.cache.protection.CircuitBreaker.State
Half-Open - Testing recovery, limited requests allowed 半开 - 测试恢复,允许有限请求
halfOpenRequests() - Method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Returns the value of the halfOpenRequests record component.
halfOpenRequests(int) - Method in class cloud.opencode.base.cache.protection.CircuitBreaker.Config.Builder
halfOpenRequests | halfOpenRequests
handleError(CacheEvent, CacheEventListener, Exception) - Method in interface cloud.opencode.base.cache.event.CacheEventDispatcher.EventErrorHandler
Handle listener error 处理监听器错误
handleError(Map, Exception) - Method in interface cloud.opencode.base.cache.write.WriteCoalescer.WriteErrorHandler
Handle write error 处理写错误
hasErrors() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Returns whether there were errors | 返回是否有错误
hasExpiration() - Method in class cloud.opencode.base.cache.config.CacheConfig
Check if expiration is configured 检查是否配置了过期
hashCode() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.KeyAccessCount
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.TtlValue
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.distributed.DistributedCache.ScanResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.ProtectedCache.ProtectionStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.RefreshAheadCache.RefreshStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.spi.EvictionPolicy.WeightedPolicy
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Get
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetAll
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetWithLoader
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Invalidate
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.InvalidateAll
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Put
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAll
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAllWithTtl
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsent
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsentWithTtl
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutWithTtl
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.Step
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.PriorityKey
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Returns a hash code value for this object.
hashCode() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Returns a hash code value for this object.
hashCount() - Method in class cloud.opencode.base.cache.protection.BloomFilter
Get hash count 获取哈希次数
hashKey(String, Object...) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Generate hash-based key to avoid long keys 生成基于哈希的键以避免过长的键
hasListenersFor(CacheEvent.EventType) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Check if any listener is interested in the event type (V2.0.4) 检查是否有任何监听器对事件类型感兴趣
hasMore() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Check if there are more results 检查是否有更多结果
hasPending(K) - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Check if key has pending write 检查键是否有待处理的写操作
hasSizeLimit() - Method in class cloud.opencode.base.cache.config.CacheConfig
Check if size limit is configured 检查是否配置了容量限制
health() - Method in class cloud.opencode.base.cache.spring.CacheHealthIndicator
Get health status 获取健康状态
healthCheckInterval() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Returns the value of the healthCheckInterval record component.
HealthResult(CacheHealthIndicator.Status, int, long, double, Map) - Constructor for record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Creates a HealthResult without error | 创建无错误的健康结果
HealthResult(CacheHealthIndicator.Status, int, long, double, Map, String) - Constructor for record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Creates an instance of a HealthResult record class.
hitCount() - Method in interface cloud.opencode.base.cache.CacheStats
Get hit count 获取命中次数
hitCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the hitCount record component.
hitCount() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the hitCount record component.
hitCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
hitCount | hitCount
hitRate() - Method in interface cloud.opencode.base.cache.CacheStats
Get hit rate (0.0 to 1.0) 获取命中率(0.0 到 1.0)
hitRate() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Gets the hit rate.
hitRate() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
hitRate | hitRate
hitRate() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the hitRate record component.
hitRateThreshold(double) - Method in class cloud.opencode.base.cache.spring.CacheHealthIndicator
Set hit rate threshold for warnings 设置命中率警告阈值
hits() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Returns the value of the hits record component.
hotKeyCount() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the hotKeyCount record component.
hotKeyPercentage() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Get hot key percentage 获取热点键百分比
hotKeys() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the hotKeys record component.
hotKeyThreshold(long) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.Builder
Set hot key threshold 设置热点键阈值

I

id() - Method in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Get algorithm ID 获取算法 ID
identity() - Static method in interface cloud.opencode.base.cache.spi.CacheSerializer
Create identity serializer for byte arrays 创建字节数组透传序列化器
idleTime() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Get idle time in milliseconds (time since last access) 获取空闲时间(毫秒,自最后访问以来)
ignore() - Static method in interface cloud.opencode.base.cache.event.CacheEventDispatcher.EventErrorHandler
Handler that silently ignores errors 静默忽略错误的处理器
increment(K, long) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Atomically increments a numeric value.
INFINITE - Static variable in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Duration indicating entry should never expire 表示条目永不过期的时长
inflightCount() - Method in class cloud.opencode.base.cache.protection.SingleFlight
Get count of in-flight requests 获取进行中请求数
inFlightLoads() - Method in record class cloud.opencode.base.cache.ProtectedCache.ProtectionStats
Returns the value of the inFlightLoads record component.
inFlightRefreshes() - Method in record class cloud.opencode.base.cache.RefreshAheadCache.RefreshStats
Returns the value of the inFlightRefreshes record component.
initialBackoff(Duration) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
initialBackoff | initialBackoff
initialCapacity() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the initial capacity | 返回初始容量
initialCapacity(int) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set initial capacity 设置初始容量
initialTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
Returns the value of the initialTtl record component.
initialTtl() - Method in interface cloud.opencode.base.cache.ttl.TtlDecayPolicy
Get initial TTL (before any decay) 获取初始 TTL(任何衰减之前)
initialTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
Returns the value of the initialTtl record component.
initialTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
 
initialTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
 
inserted() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Returns the value of the inserted record component.
insertedCount() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Returns the inserted count | 返回插入数
interestedEventTypes() - Method in interface cloud.opencode.base.cache.event.CacheEventListener
Get event types this listener is interested in (default: all) 获取此监听器感兴趣的事件类型(默认:全部)
invalidate(String, K) - Static method in class cloud.opencode.base.cache.OpenCache
Invalidate a single key in named cache 使命名缓存中的单个键失效
invalidate(String, K) - Method in class cloud.opencode.base.cache.TenantCache
Invalidate key for tenant 使租户的键失效
invalidate(K) - Method in interface cloud.opencode.base.cache.Cache
Invalidate a single key 使单个键失效
invalidate(K) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.LayeredCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.NullSafeCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.ProtectedCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.ReferenceCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.TimeoutCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
invalidate(K) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
Invalidate(K) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Invalidate
Creates an instance of a Invalidate record class.
INVALIDATE_ALL - Enum constant in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.InvalidationPolicy
Invalidate from all levels
INVALIDATE_FIRST - Enum constant in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.InvalidationPolicy
Invalidate only from first level
invalidateAll() - Method in interface cloud.opencode.base.cache.Cache
Invalidate all entries 清空所有缓存
invalidateAll() - Method in class cloud.opencode.base.cache.CacheManager
Invalidate all entries in all caches 使所有缓存中的所有条目失效
invalidateAll() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.LayeredCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.NullSafeCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.ProtectedCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.ReferenceCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.spring.OpenCodeCacheManager
Invalidate all entries in all managed caches 使所有管理缓存中的所有条目失效
invalidateAll() - Method in class cloud.opencode.base.cache.TenantCache
Invalidate all entries for all tenants 使所有租户的所有条目失效
invalidateAll() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.TimeoutCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
invalidateAll() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
invalidateAll(Iterable) - Method in interface cloud.opencode.base.cache.Cache
Invalidate multiple keys 批量失效
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.LayeredCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.NullSafeCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.ProtectedCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.ReferenceCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.TimeoutCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
invalidateAll(Iterable) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
invalidateAll(String) - Static method in class cloud.opencode.base.cache.OpenCache
Invalidate all entries in named cache 使命名缓存中的所有条目失效
invalidateAll(String) - Method in class cloud.opencode.base.cache.TenantCache
Invalidate all keys for tenant 使租户的所有键失效
InvalidateAll(Iterable) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.InvalidateAll
Creates an instance of a InvalidateAll record class.
invalidateAllAsync(Iterable) - Method in interface cloud.opencode.base.cache.AsyncCache
Async batch invalidate 异步批量失效
invalidateAllIfMatch(Map) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Invalidate all only if all values match expected 仅当所有值与预期匹配时才使全部无效
invalidateAsync(K) - Method in interface cloud.opencode.base.cache.AsyncCache
Async invalidate key 异步失效
invalidateAsync(K) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Invalidate key asynchronously 异步使键失效
invalidateByPattern(String) - Method in interface cloud.opencode.base.cache.Cache
Invalidate entries matching a pattern (supports * and ?
invalidateByPattern(String) - Method in class cloud.opencode.base.cache.CacheManager
Invalidate all entries in caches matching a name pattern 使匹配名称模式的缓存中的所有条目失效
invalidateByPatternAsync(String) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Invalidate by pattern asynchronously 异步按模式使键失效
invalidateByValue(Predicate) - Method in interface cloud.opencode.base.cache.Cache
Invalidate entries matching a value predicate 使值满足条件的条目失效
invalidateIf(Predicate) - Method in interface cloud.opencode.base.cache.Cache
Invalidate entries matching a predicate 使满足条件的条目失效
invalidationChannel() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the invalidationChannel record component.
invalidationChannel(String) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the invalidation channel for pub/sub.
invalidationPolicy(MultiLevelCache.InvalidationPolicy) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.Builder
invalidationPolicy | invalidationPolicy
isActive() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache.Subscription
Checks if active.
isAllowNullValues() - Method in class cloud.opencode.base.cache.spring.CacheProperties
Returns whether null values are allowed | 返回是否允许空值
isClosed() - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Check if dispatcher is closed 检查分发器是否已关闭
isClosed() - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Check if coalescer is closed 检查合并器是否已关闭
isComplete() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns whether warming is complete | 返回预热是否完成
isEmpty() - Method in interface cloud.opencode.base.cache.Cache
Check if cache is empty 检查缓存是否为空
isEmpty() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Check if DLQ is empty 检查 DLQ 是否为空
isEmpty() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Check if empty 检查是否为空
isEmpty(String) - Static method in class cloud.opencode.base.cache.OpenCache
Check if named cache is empty 检查命名缓存是否为空
isEnabled() - Method in interface cloud.opencode.base.cache.spi.CacheWarmer
Check if warming is enabled 检查是否启用预热
isEnabled() - Method in class cloud.opencode.base.cache.spring.CacheProperties
Returns whether cache is enabled | 返回缓存是否启用
isHealthy() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Checks if the cache is connected and healthy.
isHealthy() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Check if healthy 检查是否健康
isHit() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the isHit record component.
isInterestedIn(CacheEvent.EventType) - Method in interface cloud.opencode.base.cache.event.CacheEventListener
Check if listener is interested in event type 检查监听器是否对事件类型感兴趣
isKeyNegativelyCached(K) - Method in class cloud.opencode.base.cache.ProtectedCache
Check if a key is in the negative cache 检查键是否在负缓存中
isLoading(K) - Method in class cloud.opencode.base.cache.protection.SingleFlight
Check if a key is currently loading 检查键是否正在加载
isMetricsEnabled() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns whether metrics export is enabled | 返回是否启用指标导出
isPromoteOnL2Hit() - Method in class cloud.opencode.base.cache.LayeredCache
Checks if promotion on L2 hit is enabled 检查是否启用L2命中时提升
isReactorAvailable() - Static method in class cloud.opencode.base.cache.reactive.ReactiveCache
Check if Project Reactor is available 检查 Project Reactor 是否可用
isRecordStats() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns whether stats recording is enabled | 返回是否启用统计记录
isRefreshInProgress(K) - Method in class cloud.opencode.base.cache.RefreshAheadCache
Check if a refresh is in progress for a specific key 检查特定键是否正在刷新
isRemovalEvent() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Check if this is a removal event (REMOVE, EXPIRE, EVICT) 检查是否为移除事件 (REMOVE, EXPIRE, EVICT)
isShutdown() - Method in class cloud.opencode.base.cache.CacheManager
Check if manager is shut down 检查管理器是否已关闭
isSkewed() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Check if access pattern is skewed (top 20% keys have 80% access) 检查访问模式是否倾斜(前 20% 的键占 80% 的访问)
isSuccess() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
isSuccess | isSuccess
isUseVirtualThreads() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Returns whether virtual threads are used | 返回是否使用虚拟线程
isValid(String) - Static method in class cloud.opencode.base.cache.config.CacheSpec
Validate a specification string without parsing 验证规范字符串而不解析
isValidSpec(String) - Static method in class cloud.opencode.base.cache.OpenCache
Validate a specification string 验证规范字符串
isWriteEvent() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Check if this is a write event (PUT, REMOVE, CLEAR) 检查是否为写事件 (PUT, REMOVE, CLEAR)

J

java() - Static method in interface cloud.opencode.base.cache.compression.CompressedCache.ValueSerializer
Create a Java serialization based serializer 创建基于 Java 序列化的序列化器
jdk() - Static method in interface cloud.opencode.base.cache.spi.CacheSerializer
Create JDK serializer using Java serialization 创建使用 Java 序列化的 JDK 序列化器
json(Class) - Static method in interface cloud.opencode.base.cache.spi.CacheSerializer
Create JSON serializer using reflection (auto-detect Jackson or Gson) 使用反射创建 JSON 序列化器(自动检测 Jackson 或 Gson)

K

keepAliveTime(Duration) - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBuilder
Set keep alive time for idle threads 设置空闲线程的保活时间
key() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.KeyAccessCount
Returns the value of the key record component.
key() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache.DistributedLock
Gets the lock key.
key() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry
key | key
key() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Get
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetWithLoader
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Invalidate
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Put
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsent
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsentWithTtl
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutWithTtl
Returns the value of the key record component.
key() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.PriorityKey
Returns the value of the key record component.
key(String, Object...) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Generate simple cache key with separator 生成带分隔符的简单缓存键
KeyAccessCount(K, long) - Constructor for record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.KeyAccessCount
Creates an instance of a KeyAccessCount record class.
keyCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the keyCount record component.
keyCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
keyCount | keyCount
keyFilter(Predicate) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by key predicate 通过键谓词过滤
keyIn(Set) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by key set 通过键集合过滤
keyIterator() - Method in interface cloud.opencode.base.cache.Cache
Get a lazy iterator over keys (memory efficient) 获取键的惰性迭代器(内存高效)
keyNotIn(Set) - Method in class cloud.opencode.base.cache.query.CacheQuery
Exclude specific keys 排除特定键
keyParallelStream() - Method in interface cloud.opencode.base.cache.Cache
Get a parallel stream over keys 获取键的并行流
keyPattern(String) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by key pattern (glob-style, for String keys) 通过键模式过滤(glob 风格,用于 String 键)
keyPrefix() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the keyPrefix record component.
keyPrefix(String) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the key prefix for all keys.
keyPrefix(String) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by key prefix (for String keys) 通过键前缀过滤(用于 String 键)
keyRange(K, K) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by key range (for Comparable keys) 通过键范围过滤(用于 Comparable 键)
keyRegex(String) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by key regex pattern (for String keys) 通过键正则表达式模式过滤(用于 String 键)
keys() - Method in interface cloud.opencode.base.cache.Cache
Get snapshot of all keys 获取所有键的快照
keys() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
keys() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
keys() - Method in record class cloud.opencode.base.cache.distributed.DistributedCache.ScanResult
Returns the value of the keys record component.
keys() - Method in class cloud.opencode.base.cache.LayeredCache
 
keys() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
keys() - Method in class cloud.opencode.base.cache.NullSafeCache
 
keys() - Method in class cloud.opencode.base.cache.ProtectedCache
 
keys() - Method in class cloud.opencode.base.cache.query.CacheQuery
Execute and return only keys 执行并仅返回键
keys() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Get keys only 仅获取键
keys() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
keys() - Method in class cloud.opencode.base.cache.ReferenceCache
 
keys() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
keys() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetAll
Returns the value of the keys record component.
keys() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.InvalidateAll
Returns the value of the keys record component.
keys() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
keys() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
keys() - Method in class cloud.opencode.base.cache.TimeoutCache
 
keys() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
keys() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
keys() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
keys(String) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets all keys matching a pattern.
keySerializer() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the keySerializer record component.
keySerializer(CacheSerializer) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the key serializer.
keysFlux() - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get all keys as a Publisher 获取所有键作为 Publisher
keyStream() - Method in interface cloud.opencode.base.cache.Cache
Get a lazy stream over keys (memory efficient) 获取键的惰性流(内存高效)
keySuffix(String) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by key suffix (for String keys) 通过键后缀过滤(用于 String 键)
kryo(Class) - Static method in interface cloud.opencode.base.cache.spi.CacheSerializer
Create Kryo serializer using reflection 使用反射创建 Kryo 序列化器

L

l1() - Method in class cloud.opencode.base.cache.LayeredCache
Gets the L1 cache 获取L1缓存
L1_ONLY - Enum constant in enum class cloud.opencode.base.cache.LayeredCache.WriteStrategy
Write to L1 only, L2 is read-only 仅写入L1,L2只读
l1HitRate() - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Gets L1 hit rate 获取L1命中率
l1Stats() - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Returns the value of the l1Stats record component.
l2() - Method in class cloud.opencode.base.cache.LayeredCache
Gets the L2 cache 获取L2缓存
l2HitRate() - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Gets L2 hit rate 获取L2命中率
l2Stats() - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Returns the value of the l2Stats record component.
label(String, String) - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter.Builder
Add common label to all metrics 为所有指标添加公共标签
lastAccessTime() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns the value of the lastAccessTime record component.
lastError() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry
lastError | lastError
lastFailover() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Returns the value of the lastFailover record component.
lastFailure() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry
lastFailure | lastFailure
lastResetTime() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the lastResetTime record component.
lastResetTime(Instant) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
lastResetTime | lastResetTime
LayeredCache<K,V> - Class in cloud.opencode.base.cache
LayeredCache - Multi-level cache implementation (L1/L2) 分层缓存 - 多级缓存实现 (L1/L2)
LayeredCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for LayeredCache LayeredCache构建器
LayeredCache.LayeredCacheStats - Record Class in cloud.opencode.base.cache
Layered cache statistics 分层缓存统计
LayeredCache.WriteStrategy - Enum Class in cloud.opencode.base.cache
Write strategy for layered cache 分层缓存的写策略
LayeredCacheStats(CacheStats, CacheStats) - Constructor for record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Creates an instance of a LayeredCacheStats record class.
layeredStats() - Method in class cloud.opencode.base.cache.LayeredCache
Gets combined statistics for both layers 获取两层的组合统计信息
level(int) - Method in class cloud.opencode.base.cache.compression.ValueCompressor.Builder
Set compression level 设置压缩级别
level(MultiLevelCache.LevelConfig) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.Builder
Adds a cache level | 添加缓存级别
LevelConfig(String, Cache, Duration, boolean, boolean) - Constructor for record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Creates an instance of a LevelConfig record class.
LevelConfigBuilder() - Constructor for class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfigBuilder
Creates a new LevelConfigBuilder instance | 创建新的 LevelConfigBuilder 实例
levelCount() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
Get number of cache levels 获取缓存级别数
levelName() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Returns the value of the levelName record component.
levelStats() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Returns the value of the levelStats record component.
lfu() - Static method in class cloud.opencode.base.cache.OpenCache
Create LFU eviction policy 创建 LFU 淘汰策略
lfu() - Static method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Create LFU (Least Frequently Used) policy 创建 LFU(最不经常使用)策略
lfuCache(long) - Static method in class cloud.opencode.base.cache.OpenCache
Create a simple LFU cache with given maximum size 创建具有给定最大容量的简单 LFU 缓存
limit() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Returns the value of the limit record component.
limit(long) - Method in class cloud.opencode.base.cache.query.CacheQuery
Limit results to N 将结果限制为 N 个
linear(Duration, Duration, int) - Static method in interface cloud.opencode.base.cache.ttl.TtlDecayPolicy
Create linear decay policy 创建线性衰减策略
LINEAR - Enum constant in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Linear delay strategy | 线性延迟策略
LinearDecay(Duration, Duration, int) - Constructor for record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
public LinearDecay
listenerCount() - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Get number of registered listeners 获取注册的监听器数量
listenerCount() - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Returns the value of the listenerCount record component.
load(String, K, V) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create LOAD event 创建 LOAD 事件
load(K) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader
Load value with resilience patterns 使用弹性模式加载值
load(K) - Method in interface cloud.opencode.base.cache.spi.CacheLoader
Load value for single key 加载单个键的值
LOAD - Enum constant in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Entry loaded from loader 条目从加载器加载
loadAll(Set) - Method in interface cloud.opencode.base.cache.spi.CacheLoader
Batch load values for multiple keys (default: load one by one) 批量加载多个键的值(默认:逐个加载)
loadCount() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the loadCount record component.
loadCount() - Method in interface cloud.opencode.base.cache.CacheStats
Get total load count 获取总加载次数
loadCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the loadCount record component.
loadCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
loadCount | loadCount
loader() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the cache loader | 返回缓存加载器
loader() - Method in interface cloud.opencode.base.cache.LoadingCache
Get the loader function 获取加载器函数
loader() - Method in class cloud.opencode.base.cache.ReadThroughCache
Get the configured loader 获取配置的加载器
loader(CacheLoader) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set cache loader 设置缓存加载器
loader(CacheLoader) - Method in class cloud.opencode.base.cache.ReadThroughCache.Builder
Set the loader using CacheLoader interface 使用 CacheLoader 接口设置加载器
loader(CacheLoader) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set the base CacheLoader 设置基础 CacheLoader
loader(Function) - Method in class cloud.opencode.base.cache.ReadThroughCache.Builder
Set the loader function for single key loading 设置单键加载函数
loader(Function) - Method in class cloud.opencode.base.cache.RefreshAheadCache.Builder
Set loader function for refreshing values 设置用于刷新值的加载函数
loader(Function) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BatchBuilder
Set the batch loader function 设置批量加载函数
loader(Function) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set cache loader from function 从函数设置缓存加载器
loader(Function) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set the base loader function 设置基础加载函数
loader(Function) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Sets the loader function | 设置加载函数
LoaderException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.resilience.ResilientCacheLoader.LoaderException
LoaderException | LoaderException
LoaderInterruptedException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.resilience.ResilientCacheLoader.LoaderInterruptedException
LoaderInterruptedException | LoaderInterruptedException
LoaderTimeoutException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.resilience.ResilientCacheLoader.LoaderTimeoutException
LoaderTimeoutException | LoaderTimeoutException
loadFailureCount() - Method in interface cloud.opencode.base.cache.CacheStats
Get failed load count 获取加载失败次数
loadFailureCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the loadFailureCount record component.
loadFailureCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
loadFailureCount | loadFailureCount
loadFailureRate() - Method in interface cloud.opencode.base.cache.CacheStats
Get load failure rate 获取加载失败率
loadingCache(String, Function, long) - Static method in class cloud.opencode.base.cache.OpenCache
Create a loading cache with automatic value loading 创建具有自动值加载功能的加载缓存
loadingCache(String, Function, long, Duration) - Static method in class cloud.opencode.base.cache.OpenCache
Create a loading cache with TTL 创建具有 TTL 的加载缓存
LoadingCache<K,V> - Interface in cloud.opencode.base.cache
Loading Cache Interface - Cache with automatic value loading 加载缓存接口 - 具有自动值加载功能的缓存
loadingFailed(String, Object, Throwable) - Static method in exception class cloud.opencode.base.cache.exception.OpenCacheException
Create loading exception 创建加载异常
loadLatencyP50() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the loadLatencyP50 record component.
loadLatencyP95() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the loadLatencyP95 record component.
loadLatencyP99() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the loadLatencyP99 record component.
loadSuccessCount() - Method in interface cloud.opencode.base.cache.CacheStats
Get successful load count 获取加载成功次数
loadSuccessCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the loadSuccessCount record component.
loadSuccessCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
loadSuccessCount | loadSuccessCount
loadSuccessRate() - Method in interface cloud.opencode.base.cache.CacheStats
Get load success rate 获取加载成功率
loadSuccessRate() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Gets the load success rate.
localCacheSize() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the localCacheSize record component.
localCacheSize(int) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the local cache size.
localCacheTtl() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the localCacheTtl record component.
localCacheTtl(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the local cache TTL.
lock(K, Duration, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Acquires a distributed lock, waiting up to the specified time.
logAndContinue() - Static method in interface cloud.opencode.base.cache.event.CacheEventDispatcher.EventErrorHandler
Default handler that logs and continues 默认处理器:记录日志并继续
logAndDiscard() - Static method in interface cloud.opencode.base.cache.write.WriteCoalescer.WriteErrorHandler
Default handler that logs errors 记录错误的默认处理器
logging() - Static method in interface cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqEventHandler
Returns a logging handler | 返回日志处理器
logging() - Static method in interface cloud.opencode.base.cache.spi.RemovalListener
Create a listener that logs removals 创建一个记录移除日志的监听器
lru() - Static method in class cloud.opencode.base.cache.OpenCache
Create LRU eviction policy 创建 LRU 淘汰策略
lru() - Static method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Create LRU (Least Recently Used) policy 创建 LRU(最近最少使用)策略
lruCache(long) - Static method in class cloud.opencode.base.cache.OpenCache
Create a simple LRU cache with given maximum size 创建具有给定最大容量的简单 LRU 缓存
lruTtlCache(long, Duration) - Static method in class cloud.opencode.base.cache.OpenCache
Create a cache with both LRU and TTL 创建同时具有 LRU 和 TTL 的缓存
LZ4 - Enum constant in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
LZ4 compression - Fast compression, moderate ratio LZ4 压缩 - 压缩速度快,压缩率适中

M

MANUAL - Enum constant in enum class cloud.opencode.base.cache.dlq.DeadLetterQueue.DiscardReason
MANUAL
map() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAll
Returns the value of the map record component.
map() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAllWithTtl
Returns the value of the map record component.
mapSize() - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher using map size 创建使用 Map 大小的权重计算器
MAX_DECOMPRESSED_SIZE - Static variable in interface cloud.opencode.base.cache.compression.ValueCompressor
Maximum decompressed size limit to prevent decompression bombs (100 MB).
MAX_RETRIES - Enum constant in enum class cloud.opencode.base.cache.dlq.DeadLetterQueue.DiscardReason
MAX_RETRIES,
maxAllowedConcurrentCalls() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns the value of the maxAllowedConcurrentCalls record component.
maxBackoff(Duration) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
maxBackoff | maxBackoff
maxConcurrentCalls(int) - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBuilder
Set maximum concurrent calls 设置最大并发调用数
maxGetLatency() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the maxGetLatency record component.
maximumSize() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the maximum size | 返回最大大小
maximumSize(long) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set maximum entry count 设置最大条目数
maximumSize(long) - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
maximumSize | maximumSize
maximumWeight() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the maximum weight | 返回最大权重
maximumWeight(long) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set maximum weight 设置最大权重
maximumWeight(long) - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
maximumWeight | maximumWeight
maxPoolSize(int) - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBuilder
Set max pool size 设置最大池大小
maxQueueSize(int) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
maxQueueSize | maxQueueSize
maxQueueSize(int) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set maximum queue size before synchronous fallback 设置同步回退前的最大队列大小
maxRetries() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the maxRetries record component.
maxRetries() - Method in class cloud.opencode.base.cache.spi.RetryPolicy.CustomRetryPolicy
 
maxRetries() - Method in class cloud.opencode.base.cache.spi.RetryPolicy.ExponentialBackoff
 
maxRetries() - Method in class cloud.opencode.base.cache.spi.RetryPolicy.FixedDelay
 
maxRetries() - Method in interface cloud.opencode.base.cache.spi.RetryPolicy
Get the maximum number of retry attempts 获取最大重试次数
maxRetries() - Method in class cloud.opencode.base.cache.spi.RetryPolicy.NoRetry
 
maxRetries(int) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the maximum retry count.
maxRetries(int) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
maxRetries | maxRetries
maxRetries(int) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set maximum retry attempts on failure 设置失败时的最大重试次数
maxSizeWarningThreshold(long) - Method in class cloud.opencode.base.cache.spring.CacheHealthIndicator
Set max size warning threshold 设置最大大小警告阈值
maxWaitDuration(Duration) - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBuilder
Set maximum wait duration for permit 设置获取许可的最大等待时间
maxWaitDuration(Duration) - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBuilder
Set max wait duration for operation completion 设置操作完成的最大等待时间
memoryUsed() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the memoryUsed record component.
memoryUsed(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
memoryUsed | memoryUsed
merge(BloomFilter) - Method in class cloud.opencode.base.cache.protection.BloomFilter
Merge another bloom filter into this one 合并另一个布隆过滤器
merge(K, V, BiFunction) - Method in interface cloud.opencode.base.cache.Cache
Merge a value with existing value using the given function 使用给定函数合并值与现有值
metrics() - Method in interface cloud.opencode.base.cache.Cache
Get detailed cache metrics with latency percentiles 获取带延迟百分位数的详细缓存指标
metrics() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
metrics() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
metrics() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
metrics() - Method in class cloud.opencode.base.cache.NullSafeCache
 
metrics() - Method in class cloud.opencode.base.cache.ProtectedCache
 
metrics() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
metrics() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
metrics() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
metrics() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
metrics() - Method in class cloud.opencode.base.cache.TimeoutCache
 
metrics() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
metrics() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
metrics() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
Metrics(int, long, long, long) - Constructor for record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Creates an instance of a Metrics record class.
Metrics(String, int, int, long, long, long) - Constructor for record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Creates an instance of a Metrics record class.
MetricsSnapshot(long, long, long, long, long, long, long, double, long, long, long, long, long, double, long, long, long, double, double, double, Duration) - Constructor for record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Creates an instance of a MetricsSnapshot record class.
MicrometerMetricsExporter - Class in cloud.opencode.base.cache.metrics
Micrometer Metrics Exporter - Export cache metrics to Micrometer registry Micrometer 指标导出器 - 将缓存指标导出到 Micrometer 注册表
MicrometerMetricsExporter.Builder - Class in cloud.opencode.base.cache.metrics
Builder for MicrometerMetricsExporter
MicrometerMetricsExporter.MeterRegistry - Interface in cloud.opencode.base.cache.metrics
Meter registry abstraction to avoid compile-time Micrometer dependency 指标注册表抽象,避免编译时 Micrometer 依赖
mightContain(T) - Method in class cloud.opencode.base.cache.protection.BloomFilter
Check if element might be in the filter 检查元素可能存在于过滤器中
mightContainInBloomFilter(K) - Method in class cloud.opencode.base.cache.ProtectedCache
Check if BloomFilter might contain a key (for negative lookup tracking) 检查布隆过滤器是否可能包含某键(用于负查找跟踪)
millis() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.TestClock
Get current time in milliseconds 获取当前时间(毫秒)
minGetLatency() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the minGetLatency record component.
minimumTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
Returns the value of the minimumTtl record component.
minimumTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
Returns the value of the minimumTtl record component.
minimumTtl() - Method in interface cloud.opencode.base.cache.ttl.TtlDecayPolicy
Get minimum TTL (floor) 获取最小 TTL(下限)
minimumTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
 
minimumTtl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
 
minus(CacheStats) - Method in interface cloud.opencode.base.cache.CacheStats
Subtract another stats snapshot to get delta 减去另一个统计快照获取增量
missCount() - Method in interface cloud.opencode.base.cache.CacheStats
Get miss count 获取未命中次数
missCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the missCount record component.
missCount() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the missCount record component.
missCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
missCount | missCount
misses() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Returns the value of the misses record component.
missRate() - Method in interface cloud.opencode.base.cache.CacheStats
Get miss rate (0.0 to 1.0) 获取未命中率(0.0 到 1.0)
missRate() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Gets the miss rate.
missRate() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the missRate record component.
mockCache() - Static method in class cloud.opencode.base.cache.testing.CacheTestSupport
Create a simple mock cache 创建简单模拟缓存
mockCache(CacheTestSupport.TestClock) - Static method in class cloud.opencode.base.cache.testing.CacheTestSupport
Create mock cache with controllable clock 创建带可控时钟的模拟缓存
mockCache(String) - Static method in class cloud.opencode.base.cache.testing.CacheTestSupport
Create mock cache with name 创建带名称的模拟缓存
MockCache() - Constructor for class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
Creates a MockCache with default name and clock | 创建默认名称和时钟的模拟缓存
MockCache(CacheTestSupport.TestClock) - Constructor for class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
Creates a MockCache with specified clock | 创建指定时钟的模拟缓存
MockCache(String) - Constructor for class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
Creates a MockCache with specified name | 创建指定名称的模拟缓存
MockCache(String, CacheTestSupport.TestClock) - Constructor for class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
Creates a MockCache with specified name and clock | 创建指定名称和时钟的模拟缓存
mostCommonErrorType() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
mostCommonErrorType | mostCommonErrorType
MultiLevelCache<K,V> - Class in cloud.opencode.base.cache.multilevel
Multi-Level Cache - Supports 3+ levels with flexible configuration 多级缓存 - 支持 3 个以上级别的灵活配置
MultiLevelCache.Builder<K,V> - Class in cloud.opencode.base.cache.multilevel
Builder for MultiLevelCache MultiLevelCache 构建器
MultiLevelCache.InvalidationPolicy - Enum Class in cloud.opencode.base.cache.multilevel
Invalidation policy enumeration 失效策略枚举
MultiLevelCache.LevelConfig<K,V> - Record Class in cloud.opencode.base.cache.multilevel
Level configuration 级别配置
MultiLevelCache.LevelConfigBuilder<K,V> - Class in cloud.opencode.base.cache.multilevel
Level configuration builder 级别配置构建器
MultiLevelCache.LevelMetrics - Class in cloud.opencode.base.cache.multilevel
Level metrics 级别指标
MultiLevelCache.LevelMetrics.Snapshot - Record Class in cloud.opencode.base.cache.multilevel
Level metrics snapshot 级别指标快照
MultiLevelCache.MultiLevelStats - Record Class in cloud.opencode.base.cache.multilevel
Multi-level statistics 多级统计
MultiLevelCache.WritePolicy - Enum Class in cloud.opencode.base.cache.multilevel
Write policy enumeration 写策略枚举
MultiLevelStats(long, long, long, Map) - Constructor for record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Creates an instance of a MultiLevelStats record class.
mutexRefresh(Supplier, V) - Method in class cloud.opencode.base.cache.protection.TtlJitter
Executes a refresh action with mutex protection.

N

name() - Method in interface cloud.opencode.base.cache.Cache
Get cache name 获取缓存名称
name() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
name() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
name() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets the cache name.
name() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the name record component.
name() - Method in class cloud.opencode.base.cache.LayeredCache
 
name() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Returns the value of the name record component.
name() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
name() - Method in class cloud.opencode.base.cache.NullSafeCache
 
name() - Method in class cloud.opencode.base.cache.ProtectedCache
 
name() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns the value of the name record component.
name() - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Get bulkhead name 获取舱壁名称
name() - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBulkhead
 
name() - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBulkhead
 
name() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
name() - Method in class cloud.opencode.base.cache.ReferenceCache
 
name() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
name() - Method in class cloud.opencode.base.cache.TenantCache
Get cache name 获取缓存名称
name() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
name() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
name() - Method in class cloud.opencode.base.cache.TimeoutCache
 
name() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
name() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
name() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
name(String) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the cache name.
name(String) - Method in class cloud.opencode.base.cache.LayeredCache.Builder
Sets the cache name 设置缓存名称
name(String) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.Builder
name | name
name(String) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfigBuilder
name | name
names() - Static method in class cloud.opencode.base.cache.OpenCache
Get all cache names 获取所有缓存名称
namespace(String) - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter.Builder
Set metric namespace prefix 设置指标命名空间前缀
negativeCache(Duration) - Method in class cloud.opencode.base.cache.ProtectedCache.Builder
Set negative cache duration 设置负缓存时长
negativeCacheEntries() - Method in record class cloud.opencode.base.cache.ProtectedCache.ProtectionStats
Returns the value of the negativeCacheEntries record component.
newestFailure() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns the value of the newestFailure record component.
nextCursor() - Method in record class cloud.opencode.base.cache.distributed.DistributedCache.ScanResult
Returns the value of the nextCursor record component.
nextRetryTime() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry
nextRetryTime | nextRetryTime
NoDecay(Duration) - Constructor for record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
Creates an instance of a NoDecay record class.
noExpiration() - Static method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a no-expiration policy 创建不过期策略
none() - Static method in interface cloud.opencode.base.cache.compression.ValueCompressor
Create no-op compressor (pass-through) 创建无操作压缩器(直通)
none(Duration) - Static method in interface cloud.opencode.base.cache.ttl.TtlDecayPolicy
Create no-decay policy (constant TTL) 创建不衰减策略(恒定 TTL)
NONE - Enum constant in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
No compression - 无压缩
nonNull() - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter non-null values only 仅过滤非 null 值
noOp() - Static method in interface cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqEventHandler
Returns a no-op handler | 返回空操作处理器
noOp() - Static method in interface cloud.opencode.base.cache.spi.RemovalListener
Create a listener that does nothing 创建一个什么都不做的监听器
noOp() - Static method in interface cloud.opencode.base.cache.warming.CacheWarmer.WarmingEventHandler
Returns a no-op event handler | 返回空操作事件处理器
NoOpCompressor() - Constructor for class cloud.opencode.base.cache.compression.ValueCompressor.NoOpCompressor
Creates a new NoOpCompressor instance | 创建新的 NoOpCompressor 实例
noRetry() - Static method in class cloud.opencode.base.cache.resilience.RetryExecutor
Creates a RetryExecutor that never retries.
noRetry() - Static method in interface cloud.opencode.base.cache.spi.RetryPolicy
No retry policy 不重试策略
NORMAL - Enum constant in enum class cloud.opencode.base.cache.resilience.GracefulDegradation.State
Normal operation, distributed cache is healthy. | 正常操作,分布式缓存健康。
NullSafeCache<K,V> - Class in cloud.opencode.base.cache
Null-Safe Cache - Cache that can store and distinguish null values 空值安全缓存 - 可以存储和区分 null 值的缓存

O

of(long, long, long, long, long, long, long) - Static method in interface cloud.opencode.base.cache.CacheStats
Create stats instance 创建统计实例
of(long, Duration) - Static method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.Step
Create a step 创建步骤
of(Cache, Cache) - Static method in class cloud.opencode.base.cache.LayeredCache
Creates a layered cache with default settings 使用默认设置创建分层缓存
of(EvictionPolicy, double) - Static method in record class cloud.opencode.base.cache.spi.EvictionPolicy.WeightedPolicy
Creates a weighted policy | 创建加权策略
of(RetryPolicy) - Static method in class cloud.opencode.base.cache.resilience.RetryExecutor
Creates a RetryExecutor backed by the given policy.
of(Duration) - Static method in class cloud.opencode.base.cache.protection.TtlJitter
Creates a TtlJitter with the given maximum jitter range.
of(Consumer, Consumer) - Static method in interface cloud.opencode.base.cache.WriteBehindCache.BatchWriter
Create writer with separate put and delete handlers 创建分别处理放入和删除的写入器
of(K, int) - Static method in record class cloud.opencode.base.cache.warming.CacheWarmer.PriorityKey
Creates a PriorityKey | 创建优先级键
of(V, Duration) - Static method in record class cloud.opencode.base.cache.bulk.BulkOperations.TtlValue
Creates a TtlValue | 创建 TtlValue
ofPercent(int) - Static method in class cloud.opencode.base.cache.protection.RetryBudget
Creates a retry budget with the given percentage (1–99).
ofRatio(double) - Static method in class cloud.opencode.base.cache.protection.RetryBudget
Creates a retry budget with the given ratio.
oldestFailure() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns the value of the oldestFailure record component.
oldValue() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the oldValue record component.
on(Cache) - Static method in class cloud.opencode.base.cache.bulk.BulkOperations
Create bulk operations for a cache 为缓存创建批量操作
onAdd(K, Throwable) - Method in interface cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqEventHandler
onAdd | onAdd
onComplete(int, Duration) - Method in interface cloud.opencode.base.cache.spi.CacheWarmer
Called when warm-up completes 预热完成时调用
onComplete(CacheWarmer.WarmingResult) - Method in interface cloud.opencode.base.cache.warming.CacheWarmer.WarmingEventHandler
Called when warming completes | 预热完成时调用
onDiscard(K, DeadLetterQueue.DiscardReason) - Method in interface cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqEventHandler
onDiscard | onDiscard
onError(Throwable) - Method in interface cloud.opencode.base.cache.spi.CacheWarmer
Called when warm-up fails 预热失败时调用
onError(BiConsumer) - Method in class cloud.opencode.base.cache.WriteThroughCache.Builder
Set error handler for write failures 设置写入失败的错误处理器
onEvent(CacheEvent) - Method in interface cloud.opencode.base.cache.event.CacheEventListener
Handle cache event 处理缓存事件
onEvict(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for EVICT events 为 EVICT 事件创建监听器
onExpire(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for EXPIRE events 为 EXPIRE 事件创建监听器
onFailure(Consumer) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set failure handler for write failures after all retries 设置所有重试后写入失败的处理器
onGet(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for GET events 为 GET 事件创建监听器
onKeyFailed(K, Exception) - Method in interface cloud.opencode.base.cache.warming.CacheWarmer.WarmingEventHandler
Called when a key fails to warm | 键预热失败时调用
onKeyWarmed(K, V) - Method in interface cloud.opencode.base.cache.warming.CacheWarmer.WarmingEventHandler
Called when a key is warmed | 键预热完成时调用
onLoad(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for LOAD events 为 LOAD 事件创建监听器
onProgress(CacheWarmer.ProgressSnapshot) - Method in interface cloud.opencode.base.cache.warming.CacheWarmer.ProgressCallback
Called on warming progress update | 预热进度更新时调用
onPut(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for PUT events 为 PUT 事件创建监听器
onRecovered(K, int) - Method in interface cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqEventHandler
onRecovered | onRecovered
onRefreshFailure(K, V, Throwable) - Method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Called when refresh fails 刷新失败时调用
onRefreshSuccess(K, V, V) - Method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Called after successful refresh 刷新成功后调用
onRemoval(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for all removal events (REMOVE, EXPIRE, EVICT) 为所有移除事件创建监听器 (REMOVE, EXPIRE, EVICT)
onRemoval(K) - Method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Called when entry is removed 当条目被移除时调用
onRemoval(K, V, RemovalCause) - Method in interface cloud.opencode.base.cache.spi.RemovalListener
Called when an entry is removed from cache 当条目从缓存中移除时调用
onRemove(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for REMOVE events 为 REMOVE 事件创建监听器
onRetryFailed(K, Throwable, int) - Method in interface cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqEventHandler
onRetryFailed | onRetryFailed
onStart(int) - Method in interface cloud.opencode.base.cache.warming.CacheWarmer.WarmingEventHandler
Called when warming starts | 预热开始时调用
onWarmingCompleted(String, int, Duration) - Method in interface cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingListener
onWarmingCompleted | onWarmingCompleted
onWarmingFailed(String, Throwable) - Method in interface cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingListener
onWarmingFailed | onWarmingFailed
onWarmingStarted(String) - Method in interface cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingListener
onWarmingStarted | onWarmingStarted
onWrite(Consumer) - Static method in interface cloud.opencode.base.cache.event.CacheEventListener
Create listener for all write events (PUT, REMOVE, CLEAR) 为所有写事件创建监听器 (PUT, REMOVE, CLEAR)
open() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Manually open circuit 手动打开熔断器
OPEN - Enum constant in enum class cloud.opencode.base.cache.protection.CircuitBreaker.State
Open - Failing fast, requests rejected 打开 - 快速失败,请求被拒绝
OpenCache - Class in cloud.opencode.base.cache
OpenCache Facade - Unified entry point for cache operations OpenCache 门面 - 缓存操作的统一入口
OpenCache.CacheBuilder<K,V> - Class in cloud.opencode.base.cache
Cache Builder - Fluent API for building caches 缓存构建器 - 用于构建缓存的流式 API
OpenCacheException - Exception Class in cloud.opencode.base.cache.exception
Open Cache Exception - Unified exception for cache operations OpenCache 异常 - 缓存操作的统一异常
OpenCacheException(String) - Constructor for exception class cloud.opencode.base.cache.exception.OpenCacheException
Create exception with message 使用消息创建异常
OpenCacheException(String, Object, String) - Constructor for exception class cloud.opencode.base.cache.exception.OpenCacheException
Create exception with cache name, key and message 使用缓存名称、键和消息创建异常
OpenCacheException(String, Object, String, Throwable) - Constructor for exception class cloud.opencode.base.cache.exception.OpenCacheException
Create exception with cache name, key, message and cause 使用缓存名称、键、消息和原因创建异常
OpenCacheException(String, Object, Throwable) - Constructor for exception class cloud.opencode.base.cache.exception.OpenCacheException
Create exception with cache name, key and cause 使用缓存名称、键和原因创建异常
OpenCacheException(String, Throwable) - Constructor for exception class cloud.opencode.base.cache.exception.OpenCacheException
Create exception with message and cause 使用消息和原因创建异常
OpenCodeCacheManager - Class in cloud.opencode.base.cache.spring
OpenCode Cache Manager for Spring Cache Abstraction OpenCode 缓存管理器 - 用于 Spring Cache 抽象
OpenCodeCacheManager.Builder - Class in cloud.opencode.base.cache.spring
Builder for OpenCodeCacheManager
openDuration() - Method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Returns the value of the openDuration record component.
openDuration(Duration) - Method in class cloud.opencode.base.cache.protection.CircuitBreaker.Config.Builder
openDuration | openDuration
operationCount() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
Get operation count 获取操作计数
operations() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
Get all recorded operations 获取所有记录的操作
operationTimeout() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the operationTimeout record component.
operationTimeout(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the operation timeout.
optimalCacheSize(long, long) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Calculate optimal cache size based on memory 基于内存计算最优缓存大小
optionalOldValue() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Get optional old value 获取可选的旧值
optionalRemovalCause() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Get optional removal cause 获取可选的移除原因
optionalValue() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Get optional value 获取可选的值
or(EvictionPolicy) - Method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Combine with another policy using OR logic (evict if either suggests eviction) 使用 OR 逻辑与另一个策略组合(任一策略建议淘汰则淘汰)
or(RefreshAheadPolicy) - Method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Combine with another policy using OR logic 使用 OR 逻辑与另一个策略组合
orderBy(Comparator) - Method in class cloud.opencode.base.cache.query.CacheQuery
Order by custom comparator 按自定义比较器排序
orderByKey() - Method in class cloud.opencode.base.cache.query.CacheQuery
Order by key (ascending, requires Comparable keys) 按键排序(升序,需要 Comparable 键)
orderByKeyDesc() - Method in class cloud.opencode.base.cache.query.CacheQuery
Order by key descending (requires Comparable keys) 按键降序排序(需要 Comparable 键)
overallHitRate() - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Gets overall hit rate 获取总体命中率
overallHitRate() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
overallHitRate | overallHitRate
overallHitRate() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns the value of the overallHitRate record component.

P

p99Latency() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the p99Latency record component.
p99Latency(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
p99Latency | p99Latency
page(int, int) - Method in class cloud.opencode.base.cache.query.CacheQuery
Paginate results 分页结果
paged(Function, int, int) - Static method in interface cloud.opencode.base.cache.spi.CacheWarmer
Create paged loading warmer 创建分页加载预热器
parallelism(int) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.Builder
Sets the parallelism level | 设置并行度
parse(String) - Static method in class cloud.opencode.base.cache.config.CacheSpec
Parse a specification string into a CacheConfig 解析规范字符串为 CacheConfig
parseKey(String) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Parse a composite key into its parts 将复合键解析为各部分
parseSpec(String) - Static method in class cloud.opencode.base.cache.OpenCache
Parse specification string to CacheConfig 解析规范字符串为 CacheConfig
parseToBuilder(String) - Static method in class cloud.opencode.base.cache.config.CacheSpec
Parse a specification string into a CacheConfig.Builder 解析规范字符串为 CacheConfig.Builder
passThrough() - Static method in interface cloud.opencode.base.cache.compression.CompressedCache.ValueSerializer
Create a pass-through serializer for byte arrays 为字节数组创建直通序列化器
pattern(String, Duration) - Method in class cloud.opencode.base.cache.ttl.TtlPolicy.PatternBuilder
Add a pattern rule (glob-style) 添加模式规则(glob 风格)
PatternBuilder() - Constructor for class cloud.opencode.base.cache.ttl.TtlPolicy.PatternBuilder
Creates a new PatternBuilder instance | 创建新的 PatternBuilder 实例
pendingCount() - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Get number of pending writes 获取待处理写操作的数量
pendingWriteCount() - Method in class cloud.opencode.base.cache.WriteBehindCache
Get count of pending writes 获取待写入数量
pendingWrites() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Returns the value of the pendingWrites record component.
percentageOfTtl(double) - Static method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Create a policy that refreshes when a percentage of TTL has elapsed 创建当 TTL 过了指定百分比时刷新的策略
percentComplete() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns the completion percentage | 返回完成百分比
percentComplete() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the completion percentage | 返回完成百分比
plus(CacheStats) - Method in interface cloud.opencode.base.cache.CacheStats
Add another stats snapshot 加上另一个统计快照
policy() - Method in record class cloud.opencode.base.cache.spi.EvictionPolicy.WeightedPolicy
Returns the value of the policy record component.
prefix(String) - Method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.Builder
Set metric name prefix 设置指标名称前缀
PREFIX - Static variable in class cloud.opencode.base.cache.spring.CacheProperties
Property prefix for Spring configuration binding
priority() - Method in interface cloud.opencode.base.cache.spi.CacheWarmer
Get warm-up priority (lower = higher priority) 获取预热优先级(数值越小优先级越高)
priority() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.PriorityKey
Returns the value of the priority record component.
PriorityKey(K, int) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmer.PriorityKey
Creates an instance of a PriorityKey record class.
process(Map) - Method in interface cloud.opencode.base.cache.bulk.BulkOperations.BatchProcessor
Process a batch of entries 处理一批条目
processedCount() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Returns the value of the processedCount record component.
processRetries() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Process pending retries 处理待处理的重试
ProgressSnapshot(int, int, int, int, Duration) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Creates an instance of a ProgressSnapshot record class.
PrometheusMetricsExporter - Class in cloud.opencode.base.cache.metrics
Prometheus Metrics Exporter - Export cache metrics in Prometheus format Prometheus 指标导出器 - 以 Prometheus 格式导出缓存指标
PrometheusMetricsExporter.Builder - Class in cloud.opencode.base.cache.metrics
Builder for PrometheusMetricsExporter PrometheusMetricsExporter 构建器
promoteOnHit() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Returns the value of the promoteOnHit record component.
promoteOnHit(boolean) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfigBuilder
promoteOnHit | promoteOnHit
promoteOnL2Hit(boolean) - Method in class cloud.opencode.base.cache.LayeredCache.Builder
Sets whether to promote to L1 on L2 hit 设置是否在L2命中时提升到L1
promotions() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Returns the value of the promotions record component.
ProtectedCache<K,V> - Class in cloud.opencode.base.cache
Protected Cache - Auto-integrates BloomFilter and SingleFlight protection 保护缓存 - 自动集成布隆过滤器和单次加载保护
ProtectedCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for ProtectedCache
ProtectedCache.ProtectionStats - Record Class in cloud.opencode.base.cache
Protection statistics
ProtectionStats(long, int, int) - Constructor for record class cloud.opencode.base.cache.ProtectedCache.ProtectionStats
Creates an instance of a ProtectionStats record class.
pruneCold(Duration) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Prune cold entries older than specified age 修剪超过指定年龄的冷条目
publish(String, String) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Publishes a cache invalidation message.
put(String, K, V) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create PUT event 创建 PUT 事件
put(String, K, V) - Static method in class cloud.opencode.base.cache.OpenCache
Put value in named cache 在命名缓存中放入值
put(String, K, V) - Method in class cloud.opencode.base.cache.TenantCache
Put value for tenant 为租户放入值
put(String, K, V, Duration) - Method in class cloud.opencode.base.cache.TenantCache
Put value with custom TTL 使用自定义 TTL 放入值
put(String, K, V, V) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create PUT event with old value 创建带旧值的 PUT 事件
put(K, V) - Method in interface cloud.opencode.base.cache.Cache
Put a key-value pair into cache 放入键值对
put(K, V) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
put(K, V) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
put(K, V) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Puts a value with default TTL.
put(K, V) - Method in class cloud.opencode.base.cache.LayeredCache
 
put(K, V) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
put(K, V) - Method in class cloud.opencode.base.cache.NullSafeCache
 
put(K, V) - Method in class cloud.opencode.base.cache.ProtectedCache
 
put(K, V) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
put(K, V) - Method in class cloud.opencode.base.cache.ReferenceCache
 
put(K, V) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
put(K, V) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
put(K, V) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
put(K, V) - Method in class cloud.opencode.base.cache.TimeoutCache
 
put(K, V) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
put(K, V) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
put(K, V) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
put(K, V, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Puts a value with specific TTL.
put(K, V, Duration, Cache, DistributedCache) - Method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Stores a value based on the current degradation state.
Put(K, V) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Put
Creates an instance of a Put record class.
PUT - Enum constant in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Entry added or updated 条目添加或更新
putAll(String, Map) - Method in class cloud.opencode.base.cache.TenantCache
Put all entries for tenant 为租户批量放入
putAll(Map) - Method in interface cloud.opencode.base.cache.Cache
Put all key-value pairs into cache 批量放入
putAll(Map) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.LayeredCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.NullSafeCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.ProtectedCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.ReferenceCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.TimeoutCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
putAll(Map) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
putAll(Map) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Puts multiple key-value pairs with default TTL.
putAll(Map, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Puts multiple key-value pairs with specific TTL.
PutAll(Map) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAll
Creates an instance of a PutAll record class.
putAllAsync(Map) - Method in interface cloud.opencode.base.cache.AsyncCache
Async batch put 异步批量放入
putAllAsync(Map, Duration) - Method in interface cloud.opencode.base.cache.AsyncCache
Async batch put with TTL 异步批量放入带 TTL
putAllIfAbsent(Map) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Put entries that are absent, skip existing 放置不存在的条目,跳过已存在的
putAllIfAbsent(Map) - Method in interface cloud.opencode.base.cache.Cache
Put all entries if their keys are absent 批量放入不存在的键的条目
putAllIfAllAbsent(Map) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Put all only if all keys are absent 仅当所有键都不存在时才放置全部
putAllIfAllPresent(Map) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Put all only if all keys are already present 仅当所有键都已存在时才放置全部
putAllWithTtl(Map) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Put all with individual TTLs 放置全部并带有各自的 TTL
putAllWithTtl(Map, Duration) - Method in interface cloud.opencode.base.cache.Cache
Put all entries with custom TTL 批量放入并指定自定义 TTL
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.LayeredCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.NullSafeCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.ProtectedCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.ReferenceCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.TimeoutCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
putAllWithTtl(Map, Duration) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
PutAllWithTtl(Map, Duration) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAllWithTtl
Creates an instance of a PutAllWithTtl record class.
putAsync(K, V) - Method in interface cloud.opencode.base.cache.AsyncCache
Async put value 异步放入值
putAsync(K, V) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Put value asynchronously 异步放入值
putAsync(K, V, Duration) - Method in interface cloud.opencode.base.cache.AsyncCache
Async put with TTL 异步放入带 TTL
putAsync(K, V, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Puts a value asynchronously.
putCount() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the putCount record component.
putIfAbsent(K, V) - Method in interface cloud.opencode.base.cache.Cache
Put if the key is absent, returns true if successful 不存在时放入,成功返回 true
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.LayeredCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.NullSafeCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.ProtectedCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.ReferenceCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.TimeoutCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
putIfAbsent(K, V) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
putIfAbsent(K, V, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Puts a value only if the key doesn't exist.
PutIfAbsent(K, V) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsent
Creates an instance of a PutIfAbsent record class.
putIfAbsentAsync(K, V) - Method in interface cloud.opencode.base.cache.AsyncCache
Async put if absent 异步放入(如果不存在)
putIfAbsentAsync(K, V, Duration) - Method in interface cloud.opencode.base.cache.AsyncCache
Async put if absent with TTL 异步放入带 TTL(如果不存在)
putIfAbsentWithTtl(K, V, Duration) - Method in interface cloud.opencode.base.cache.Cache
Put if absent with custom TTL 不存在时放入并指定自定义 TTL
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.LayeredCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.NullSafeCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ProtectedCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ReferenceCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.TimeoutCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
putIfAbsentWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
PutIfAbsentWithTtl(K, V, Duration) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsentWithTtl
Creates an instance of a PutIfAbsentWithTtl record class.
putIfPresent(K, V) - Method in interface cloud.opencode.base.cache.Cache
Put value only if key is present (update existing entry only) 仅在键存在时放入值(仅更新现有条目)
putLatencyP50() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the putLatencyP50 record component.
putLatencyP95() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the putLatencyP95 record component.
putLatencyP99() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the putLatencyP99 record component.
putsOnly(Consumer) - Static method in interface cloud.opencode.base.cache.WriteBehindCache.BatchWriter
Create writer for puts only 创建仅处理放入的写入器
putThroughput() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the putThroughput record component.
putWithTtl(K, V, Duration) - Method in interface cloud.opencode.base.cache.Cache
Put a key-value pair with custom TTL (overrides default expiration) 放入键值对并指定自定义 TTL(覆盖默认过期时间)
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.LayeredCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.NullSafeCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ProtectedCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ReadThroughCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ReferenceCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.TimeoutCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.WriteBehindCache
 
putWithTtl(K, V, Duration) - Method in class cloud.opencode.base.cache.WriteThroughCache
 
PutWithTtl(K, V, Duration) - Constructor for record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutWithTtl
Creates an instance of a PutWithTtl record class.
putWithTtlAsync(K, V, Duration) - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Put value with TTL asynchronously 异步放入带 TTL 的值

Q

QUEUE_FULL - Enum constant in enum class cloud.opencode.base.cache.dlq.DeadLetterQueue.DiscardReason
QUEUE_FULL,
queueCapacity(int) - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBuilder
Set queue capacity 设置队列容量

R

RANDOM - Enum constant in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Random delay strategy | 随机延迟策略
ReactiveCache<K,V> - Class in cloud.opencode.base.cache.reactive
Reactive Cache - Cache with Reactive Streams support (JDK 9+ Flow API) 响应式缓存 - 支持响应式流的缓存(JDK 9+ Flow API)
ReadThroughCache<K,V> - Class in cloud.opencode.base.cache
Read-Through Cache - Automatic transparent loading from backend 读穿透缓存 - 从后端自动透明加载
ReadThroughCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for ReadThroughCache ReadThroughCache 构建器
ReadThroughCache.CacheLoadException - Exception Class in cloud.opencode.base.cache
Exception thrown when cache loading fails 缓存加载失败时抛出的异常
recordAccess() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Create new entry with updated access time and count 创建更新访问时间和次数的新条目
recordAccess(CacheEntry) - Method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Record access to an entry 记录条目访问
recordAccess(K) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Record an access to a key 记录键的访问
recordAccess(K, long) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Record multiple accesses to a key 记录键的多次访问
recordEviction() - Method in class cloud.opencode.base.cache.CacheMetrics
Record eviction 记录淘汰
recordEviction(int) - Method in interface cloud.opencode.base.cache.spi.StatsCounter
Record eviction 记录淘汰
recordFailure() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Record a failed operation 记录失败的操作
recordGetLatency(long) - Method in class cloud.opencode.base.cache.CacheMetrics
Record get operation latency 记录获取操作延迟
recordHits(int) - Method in interface cloud.opencode.base.cache.spi.StatsCounter
Record cache hits 记录缓存命中
recordingCache() - Static method in class cloud.opencode.base.cache.testing.CacheTestSupport
Create a recording cache that tracks operations 创建记录操作的缓存
RecordingCache() - Constructor for class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
Creates a new RecordingCache | 创建新的记录缓存
recordLoadFailure(long) - Method in interface cloud.opencode.base.cache.spi.StatsCounter
Record failed load 记录失败加载
recordLoadLatency(long) - Method in class cloud.opencode.base.cache.CacheMetrics
Record load operation latency 记录加载操作延迟
recordLoadSuccess(long) - Method in interface cloud.opencode.base.cache.spi.StatsCounter
Record successful load 记录成功加载
recordMiss(K) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Record a miss (access but not found) 记录未命中(访问但未找到)
recordMisses(int) - Method in interface cloud.opencode.base.cache.spi.StatsCounter
Record cache misses 记录缓存未命中
recordPutLatency(long) - Method in class cloud.opencode.base.cache.CacheMetrics
Record put operation latency 记录放入操作延迟
recordRequest() - Method in class cloud.opencode.base.cache.protection.RetryBudget
Records an original (non-retry) request.
recordRetry() - Method in class cloud.opencode.base.cache.protection.RetryBudget
Records that a retry is about to be attempted.
recordStats() - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Enable statistics recording 启用统计记录
recordStats() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns whether stats recording is enabled | 返回是否启用统计记录
recordStats() - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
recordStats | recordStats
recordStats() - Method in class cloud.opencode.base.cache.ReferenceCache.Builder
Enable statistics recording 启用统计记录
recordSuccess() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Record a successful operation 记录成功的操作
recordWrite(CacheEntry) - Method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Record write to an entry 记录条目写入
RECOVERING - Enum constant in enum class cloud.opencode.base.cache.resilience.GracefulDegradation.State
Recovering, attempting to restore distributed cache usage. | 恢复中,尝试恢复分布式缓存使用。
recoveryRate() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
recoveryRate | recoveryRate
recoveryWindow() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Returns the value of the recoveryWindow record component.
ReferenceCache<K,V> - Class in cloud.opencode.base.cache
Reference Cache - Memory-sensitive cache using weak/soft references 引用缓存 - 使用弱引用/软引用的内存敏感缓存
ReferenceCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for ReferenceCache
ReferenceCache.ReferenceType - Enum Class in cloud.opencode.base.cache
Reference type for cache entries 缓存条目的引用类型
referenceType(ReferenceCache.ReferenceType) - Method in class cloud.opencode.base.cache.ReferenceCache.Builder
Set reference type 设置引用类型
refresh(K) - Method in interface cloud.opencode.base.cache.LoadingCache
Refresh value for given key 刷新给定键的值
refreshAfterWrite() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the refresh-after-write duration | 返回写入后刷新时间
refreshAfterWrite(Duration) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set refresh after write duration 设置写入后刷新时间
RefreshAheadCache<K,V> - Class in cloud.opencode.base.cache
Refresh Ahead Cache - Proactive cache refresh decorator 提前刷新缓存 - 主动缓存刷新装饰器
RefreshAheadCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for RefreshAheadCache
RefreshAheadCache.RefreshStats - Record Class in cloud.opencode.base.cache
Refresh statistics record 刷新统计记录
refreshAheadPolicy() - Method in class cloud.opencode.base.cache.config.CacheConfig
Get refresh ahead policy 获取提前刷新策略
refreshAheadPolicy(RefreshAheadPolicy) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set refresh ahead policy for proactive cache refresh 设置提前刷新策略用于主动缓存刷新
RefreshAheadPolicy<K,V> - Interface in cloud.opencode.base.cache.spi
Refresh Ahead Policy - Proactive cache refresh strategy 提前刷新策略 - 主动缓存刷新策略
RefreshAheadPolicy.RefreshPredicate<K> - Interface in cloud.opencode.base.cache.spi
Predicate interface for custom refresh logic 用于自定义刷新逻辑的断言接口
refreshAll(Predicate) - Method in interface cloud.opencode.base.cache.LoadingCache
Refresh all entries matching the predicate 刷新所有匹配条件的条目
refreshExecutor() - Method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Get the refresh executor (default: common pool) 获取刷新执行器(默认: 公共池)
refreshPolicy(RefreshAheadPolicy) - Method in class cloud.opencode.base.cache.RefreshAheadCache.Builder
Set refresh policy 设置刷新策略
RefreshStats(int, int) - Constructor for record class cloud.opencode.base.cache.RefreshAheadCache.RefreshStats
Creates an instance of a RefreshStats record class.
regex(String, Duration) - Method in class cloud.opencode.base.cache.ttl.TtlPolicy.PatternBuilder
Add a regex pattern rule 添加正则表达式模式规则
register(String, Cache) - Method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter
Register a cache for metrics collection 注册缓存进行指标收集
register(String, Cache) - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Register a cache for metrics export 注册缓存以导出指标
register(String, Cache, CacheWarmer) - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Register a cache warmer 注册缓存预热器
register(String, Cache, CacheWarmer, int) - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Register a cache warmer with priority 注册带优先级的缓存预热器
registerAll(CacheManager) - Method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter
Register all caches from CacheManager 从 CacheManager 注册所有缓存
registerAll(CacheManager) - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Register all caches from CacheManager 从 CacheManager 注册所有缓存
registeredCaches() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Returns the value of the registeredCaches record component.
registry(MicrometerMetricsExporter.MeterRegistry) - Method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.Builder
Set meter registry 设置指标注册表
rejectedCallsCount() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns the value of the rejectedCallsCount record component.
rejectionRate() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Get rejection rate 获取拒绝率
release() - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Release a permit back to the bulkhead 释放许可回到舱壁
release() - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBulkhead
 
release() - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBulkhead
 
reload(K, V) - Method in interface cloud.opencode.base.cache.spi.CacheLoader
Reload value (default: just load again) 重新加载值(默认:直接重新加载)
remaining() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns the remaining count | 返回剩余数
removalCause() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the removalCause record component.
RemovalCause - Enum Class in cloud.opencode.base.cache.model
Cache Entry Removal Cause - Enum indicating why a cache entry was removed 缓存条目移除原因 - 表示缓存条目被移除原因的枚举
removalListener() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns the removal listener | 返回移除监听器
removalListener(RemovalListener) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set removal listener 设置移除监听器
removalListener(RemovalListener) - Method in class cloud.opencode.base.cache.ReferenceCache.Builder
Set removal listener 设置移除监听器
RemovalListener<K,V> - Interface in cloud.opencode.base.cache.spi
Removal Listener SPI - Cache entry removal callback interface 移除监听器 SPI - 缓存条目移除回调接口
remove(String) - Method in interface cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.MeterRegistry
Remove meters by name prefix 按名称前缀移除指标
remove(String) - Static method in class cloud.opencode.base.cache.OpenCache
Remove cache by name 按名称移除缓存
remove(String, K, V) - Static method in record class cloud.opencode.base.cache.event.CacheEvent
Create REMOVE event 创建 REMOVE 事件
remove(K) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Remove tracking for a key 移除键的跟踪
remove(K) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Removes a key.
REMOVE - Enum constant in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Entry explicitly removed 条目显式移除
removeAll(Collection) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Removes multiple keys.
removeAsync(K) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Removes a key asynchronously.
removeByPattern(String) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Removes all keys matching a pattern.
removeCache(String) - Method in class cloud.opencode.base.cache.CacheManager
Remove cache by name 按名称移除缓存
removeCache(String) - Method in class cloud.opencode.base.cache.spring.CacheProperties
Remove a named cache configuration 删除命名缓存配置
removeIfEquals(K, V) - Method in interface cloud.opencode.base.cache.Cache
Remove entry only if value matches the expected value 仅在值与期望值匹配时移除条目
removeIfPresent(K) - Method in interface cloud.opencode.base.cache.Cache
Remove entry only if key is present and return success status 仅在键存在时移除条目,并返回成功状态
removeListener(CacheEventListener) - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Remove event listener 移除事件监听器
removeTenant(String) - Method in class cloud.opencode.base.cache.TenantCache
Remove tenant and all its cached data 移除租户及其所有缓存数据
replace(K, V) - Method in interface cloud.opencode.base.cache.Cache
Replace value only if key is present 仅在键存在时替换值
replace(K, V) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
replace(K, V) - Method in class cloud.opencode.base.cache.ProtectedCache
 
replace(K, V) - Method in class cloud.opencode.base.cache.ReferenceCache
 
replace(K, V) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
replace(K, V) - Method in class cloud.opencode.base.cache.TimeoutCache
 
replace(K, V, V) - Method in interface cloud.opencode.base.cache.Cache
Replace value only if current value equals expected value 仅在当前值等于期望值时替换
replace(K, V, V) - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
replace(K, V, V) - Method in class cloud.opencode.base.cache.ProtectedCache
 
replace(K, V, V) - Method in class cloud.opencode.base.cache.ReferenceCache
 
replace(K, V, V) - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
replace(K, V, V) - Method in class cloud.opencode.base.cache.TimeoutCache
 
replaceAll(BiFunction) - Method in interface cloud.opencode.base.cache.Cache
Replace all values using the given function 使用给定函数替换所有值
replaceAllMatching(BiPredicate, BiFunction) - Method in class cloud.opencode.base.cache.bulk.BulkOperations
Replace all values matching predicate 替换所有匹配谓词的值
REPLACED - Enum constant in enum class cloud.opencode.base.cache.model.RemovalCause
Entry was replaced by a new value 被新值替换
requestCount() - Method in interface cloud.opencode.base.cache.CacheStats
Get total request count (hits + misses) 获取请求总数(命中 + 未命中)
requestCount() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the requestCount record component.
requestCount(long) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
requestCount | requestCount
reset() - Method in class cloud.opencode.base.cache.CacheManager
Reset manager (for testing) 重置管理器(用于测试)
reset() - Method in class cloud.opencode.base.cache.CacheMetrics
Reset all metrics 重置所有指标
reset() - Method in class cloud.opencode.base.cache.protection.CircuitBreaker
Reset statistics 重置统计
reset() - Method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Resets the system to NORMAL state and clears all failure counters.
reset() - Method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Reset policy state 重置策略状态
reset() - Method in interface cloud.opencode.base.cache.spi.StatsCounter
Reset all statistics counters 重置所有统计计数器
reset() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
Reset all data and statistics 重置所有数据和统计
reset() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
Reset cache and operations 重置缓存和操作
resetCompressionStats() - Method in class cloud.opencode.base.cache.compression.CompressedCache
Reset compression statistics 重置压缩统计
resetMetrics() - Method in class cloud.opencode.base.cache.event.CacheEventDispatcher
Reset metrics counters 重置指标计数器
resetProtectionStats() - Method in class cloud.opencode.base.cache.ProtectedCache
Reset protection statistics (clears BloomFilter tracking) 重置保护统计(清除布隆过滤器跟踪)
resetStats() - Method in interface cloud.opencode.base.cache.Cache
Reset statistics counters 重置统计计数器
resetStats() - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Reset statistics 重置统计
resetStats() - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Reset statistics 重置统计
ResilientCacheLoader<K,V> - Class in cloud.opencode.base.cache.resilience
Resilient Cache Loader - Wraps loaders with retry, circuit breaker, bulkhead, and timeout 弹性缓存加载器 - 用重试、熔断、舱壁和超时包装加载器
ResilientCacheLoader.BatchBuilder<K,V> - Class in cloud.opencode.base.cache.resilience
Builder for batch resilient loader
ResilientCacheLoader.Builder<K,V> - Class in cloud.opencode.base.cache.resilience
Builder for ResilientCacheLoader
ResilientCacheLoader.BulkheadRejectedException - Exception Class in cloud.opencode.base.cache.resilience
Exception when bulkhead rejects the request
ResilientCacheLoader.CircuitBreakerOpenException - Exception Class in cloud.opencode.base.cache.resilience
Exception when circuit breaker is open
ResilientCacheLoader.LoaderException - Exception Class in cloud.opencode.base.cache.resilience
Base exception for loader failures
ResilientCacheLoader.LoaderInterruptedException - Exception Class in cloud.opencode.base.cache.resilience
Exception when load is interrupted
ResilientCacheLoader.LoaderTimeoutException - Exception Class in cloud.opencode.base.cache.resilience
Exception when load times out
Result(List, long, long, long, long) - Constructor for record class cloud.opencode.base.cache.query.CacheQuery.Result
Creates an instance of a Result record class.
results() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
Returns the value of the results record component.
rethrow() - Static method in interface cloud.opencode.base.cache.event.CacheEventDispatcher.EventErrorHandler
Handler that rethrows exceptions 重新抛出异常的处理器
rethrow() - Static method in interface cloud.opencode.base.cache.write.WriteCoalescer.WriteErrorHandler
Handler that rethrows errors 重新抛出错误的处理器
retry(RetryPolicy) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BatchBuilder
Set retry policy 设置重试策略
retry(RetryPolicy) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set retry policy 设置重试策略
retry(K) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Retry a single failed entry 重试单个失败的条目
retryBackoff() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the retryBackoff record component.
retryBackoff(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the retry backoff duration.
RetryBudget - Class in cloud.opencode.base.cache.protection
Retry Budget — Limits the fraction of requests that can be retried.
retryCount() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.FailedEntry
retryCount | retryCount
retryCount() - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Returns the value of the retryCount record component.
retryDelay(Duration) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set delay between retries 设置重试间隔
RetryExecutor - Class in cloud.opencode.base.cache.resilience
Retry Executor — Executes operations with retry according to a RetryPolicy.
RetryExecutor.RetryStats - Record Class in cloud.opencode.base.cache.resilience
Snapshot of cumulative retry statistics.
retryLoader(Function) - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue.Builder
Sets the retry loader | 设置重试加载器
retryOn(Predicate) - Method in interface cloud.opencode.base.cache.spi.RetryPolicy
Create a policy that only retries on specific exceptions 创建仅在特定异常时重试的策略
RetryPolicy - Interface in cloud.opencode.base.cache.spi
Retry Policy - Defines retry behavior for cache operations 重试策略 - 定义缓存操作的重试行为
RetryPolicy.CustomRetryPolicy - Class in cloud.opencode.base.cache.spi
Custom retry policy implementation - wraps a delegate with custom exception filter 自定义重试策略实现 - 用自定义异常过滤器包装委托
RetryPolicy.ExponentialBackoff - Class in cloud.opencode.base.cache.spi
Exponential backoff implementation
RetryPolicy.FixedDelay - Class in cloud.opencode.base.cache.spi
Fixed delay implementation
RetryPolicy.NoRetry - Class in cloud.opencode.base.cache.spi
No retry implementation
RetryStats(long, long, long, long, Duration) - Constructor for record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Creates an instance of a RetryStats record class.

S

sampling(double) - Static method in interface cloud.opencode.base.cache.spi.StatsCounter
Create sampling counter for high-throughput scenarios 创建高吞吐量场景的采样计数器
samplingBalanced() - Static method in interface cloud.opencode.base.cache.spi.StatsCounter
Create sampling counter with balanced accuracy/performance (10% sampling) 创建准确性/性能平衡的采样计数器(10% 采样)
samplingHighThroughput() - Static method in interface cloud.opencode.base.cache.spi.StatsCounter
Create sampling counter optimized for very high throughput (1% sampling) 创建超高吞吐量优化的采样计数器(1% 采样)
scan(String, String, int) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Scans keys matching a pattern with cursor-based pagination.
ScanResult(Set, String, boolean) - Constructor for record class cloud.opencode.base.cache.distributed.DistributedCache.ScanResult
Creates an instance of a ScanResult record class.
scheduleWarming(Duration, Duration, Supplier) - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Schedule warming with cron-like expression 使用类似 cron 的表达式安排预热
scheduleWarming(Duration, Supplier) - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Schedule periodic warming 安排定期预热
selectVictim(Map) - Method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Select victim entry to evict 选择要淘汰的条目
semaphore(String) - Static method in interface cloud.opencode.base.cache.protection.Bulkhead
Create semaphore-based bulkhead builder 创建基于信号量的舱壁构建器
serialize(V) - Method in interface cloud.opencode.base.cache.compression.CompressedCache.ValueSerializer
Serialize value to bytes 将值序列化为字节
serialize(V) - Method in interface cloud.opencode.base.cache.spi.CacheSerializer
Serialize value to byte array 将值序列化为字节数组
serializer(CompressedCache.ValueSerializer) - Method in class cloud.opencode.base.cache.compression.CompressedCache.Builder
Set serializer 设置序列化器
setAllowNullValues(boolean) - Method in class cloud.opencode.base.cache.spring.CacheProperties
Sets whether null values are allowed | 设置是否允许空值
setCaches(Map) - Method in class cloud.opencode.base.cache.spring.CacheProperties
Sets the named cache configurations | 设置命名缓存配置
setConcurrencyLevel(int) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the concurrency level | 设置并发级别
setDefaultSpec(CacheProperties.CacheSpec) - Method in class cloud.opencode.base.cache.spring.CacheProperties
Sets the default cache spec | 设置默认缓存规格
setEnabled(boolean) - Method in class cloud.opencode.base.cache.spring.CacheProperties
Sets whether cache is enabled | 设置缓存是否启用
setEvictionPolicy(String) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the eviction policy name | 设置淘汰策略名称
setExpireAfterAccess(Duration) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the expire-after-access duration | 设置访问后过期时间
setExpireAfterWrite(Duration) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the expire-after-write duration | 设置写入后过期时间
setInitialCapacity(int) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the initial capacity | 设置初始容量
setListener(CacheWarmerManager.WarmingListener) - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Set global warming listener 设置全局预热监听器
setMaximumSize(long) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the maximum size | 设置最大大小
setMaximumWeight(long) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the maximum weight | 设置最大权重
setMetricsEnabled(boolean) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets whether metrics export is enabled | 设置是否启用指标导出
setRecordStats(boolean) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets whether stats recording is enabled | 设置是否启用统计记录
setRefreshAfterWrite(Duration) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets the refresh-after-write duration | 设置写入后刷新时间
setTenantQuota(String, long) - Method in class cloud.opencode.base.cache.TenantCache
Set tenant quota 设置租户配额
setTenantQuota(String, long, Duration) - Method in class cloud.opencode.base.cache.TenantCache
Set tenant quota with TTL 设置带 TTL 的租户配额
setTime(long) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.TestClock
Set time in milliseconds 设置时间(毫秒)
setTime(Instant) - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.TestClock
Set time to specific instant 设置为特定时刻
setTtl(K, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Updates the TTL for an existing key.
setUseVirtualThreads(boolean) - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Sets whether virtual threads are used | 设置是否使用虚拟线程
shouldCompress(int) - Method in interface cloud.opencode.base.cache.compression.ValueCompressor
Check if data should be compressed based on size 根据大小检查数据是否应该压缩
shouldRefresh(K, long, long) - Method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy.RefreshPredicate
Determine if refresh is needed 确定是否需要刷新
shouldRefresh(K, long, long) - Method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Determine if an entry should be refreshed 确定条目是否应该刷新
shouldRetry(Throwable) - Method in class cloud.opencode.base.cache.spi.RetryPolicy.CustomRetryPolicy
 
shouldRetry(Throwable) - Method in interface cloud.opencode.base.cache.spi.RetryPolicy
Check if the exception should trigger a retry 检查异常是否应触发重试
shutdown() - Method in class cloud.opencode.base.cache.CacheManager
Shutdown the cache manager, closing all managed caches and releasing resources.
shutdown() - Static method in class cloud.opencode.base.cache.OpenCache
Shutdown cache system 关闭缓存系统
shutdown() - Method in class cloud.opencode.base.cache.ProtectedCache
Shutdown the protected cache and release resources 关闭保护缓存并释放资源
shutdown() - Method in class cloud.opencode.base.cache.RefreshAheadCache
Shutdown the refresh-ahead cache, cancelling pending refreshes and releasing resources 关闭提前刷新缓存,取消待处理的刷新并释放资源
shutdown() - Method in class cloud.opencode.base.cache.TimeoutCache
Shutdown the executor if owned by this cache 如果执行器由此缓存拥有则关闭
shutdown() - Method in class cloud.opencode.base.cache.WriteBehindCache
Shutdown the write-behind cache, flushing pending writes 关闭写后缓存,刷新待写入
shutdown(Duration) - Method in class cloud.opencode.base.cache.WriteBehindCache
Shutdown with timeout 带超时关闭
singleFlight(boolean) - Method in class cloud.opencode.base.cache.ProtectedCache.Builder
Enable/disable single flight 启用/禁用单次加载
SingleFlight<K,V> - Class in cloud.opencode.base.cache.protection
SingleFlight - Request coalescing for cache stampede prevention SingleFlight - 请求合并,防止缓存击穿
SingleFlight() - Constructor for class cloud.opencode.base.cache.protection.SingleFlight
Creates a new SingleFlight instance | 创建新的 SingleFlight 实例
SingleFlight.TimeoutException - Exception Class in cloud.opencode.base.cache.protection
Timeout exception for SingleFlight operations SingleFlight 操作的超时异常
size() - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer
Get tracked key count 获取跟踪的键数量
size() - Method in interface cloud.opencode.base.cache.Cache
Get exact entry count (may be slow) 获取精确条目数(可能较慢)
size() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
size() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
size() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Get current queue size 获取当前队列大小
size() - Method in class cloud.opencode.base.cache.LayeredCache
 
size() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
size() - Method in class cloud.opencode.base.cache.NullSafeCache
 
size() - Method in class cloud.opencode.base.cache.ProtectedCache
 
size() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Get result size 获取结果大小
size() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
size() - Method in class cloud.opencode.base.cache.ReferenceCache
 
size() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
size() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the size record component.
size() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
size() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
size() - Method in class cloud.opencode.base.cache.TimeoutCache
 
size() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
size() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
size() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
size(String) - Static method in class cloud.opencode.base.cache.OpenCache
Get size of named cache 获取命名缓存的大小
SIZE - Enum constant in enum class cloud.opencode.base.cache.model.RemovalCause
Entry was evicted due to size/weight limit 因容量/权重限制被淘汰
skip(long) - Method in class cloud.opencode.base.cache.query.CacheQuery
Skip first N results 跳过前 N 个结果
skipped() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Returns the value of the skipped record component.
skipped() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Returns the value of the skipped record component.
skippedCount() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Returns the skipped count | 返回跳过数
skippedCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns the value of the skippedCount record component.
skippedCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the value of the skippedCount record component.
SNAPPY - Enum constant in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Snappy compression - Very fast, lower ratio Snappy 压缩 - 非常快,压缩率较低
snapshot() - Method in class cloud.opencode.base.cache.CacheMetrics
Create immutable snapshot of current metrics 创建当前指标的不可变快照
snapshot() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics
snapshot | snapshot
snapshot() - Method in interface cloud.opencode.base.cache.spi.StatsCounter
Get statistics snapshot 获取统计快照
Snapshot(String, long, long, long) - Constructor for record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Creates an instance of a Snapshot record class.
SOFT - Enum constant in enum class cloud.opencode.base.cache.ReferenceCache.ReferenceType
Both keys and values use soft references 键和值都使用软引用
SOFT_VALUES - Enum constant in enum class cloud.opencode.base.cache.ReferenceCache.ReferenceType
Only values use soft references, keys are strong 仅值使用软引用,键是强引用
stagger(Duration, int, int) - Method in class cloud.opencode.base.cache.protection.TtlJitter
Calculates a deterministic stagger offset for the entry at index in a batch.
startRetryProcessor() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Start automatic retry processor 启动自动重试处理器
state() - Method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Returns the current degradation state.
stats() - Method in interface cloud.opencode.base.cache.Cache
Get cache statistics 获取缓存统计信息
stats() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
stats() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
stats() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Gets cache statistics.
stats() - Method in class cloud.opencode.base.cache.LayeredCache
 
stats() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
stats() - Method in class cloud.opencode.base.cache.NullSafeCache
 
stats() - Static method in class cloud.opencode.base.cache.OpenCache
Get global statistics 获取全局统计
stats() - Method in class cloud.opencode.base.cache.ProtectedCache
 
stats() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
stats() - Method in class cloud.opencode.base.cache.ReferenceCache
 
stats() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
stats() - Method in class cloud.opencode.base.cache.resilience.GracefulDegradation
Returns a snapshot of the current statistics.
stats() - Method in class cloud.opencode.base.cache.resilience.RetryExecutor
Returns a snapshot of the current retry statistics.
stats() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
stats() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
stats() - Method in class cloud.opencode.base.cache.TimeoutCache
 
stats() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
stats() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
stats() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
Stats(long, long, long, GracefulDegradation.State, Instant) - Constructor for record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Creates an instance of a Stats record class.
statsAsync() - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get stats asynchronously 异步获取统计
StatsCounter - Interface in cloud.opencode.base.cache.spi
Stats Counter SPI - Cache statistics counter interface 统计计数器 SPI - 缓存统计计数器接口
status() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the status record component.
status() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns the value of the status record component.
step(TtlDecayPolicy.Step...) - Static method in interface cloud.opencode.base.cache.ttl.TtlDecayPolicy
Create step decay policy 创建阶梯衰减策略
Step(long, Duration) - Constructor for record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.Step
public Step
StepDecay(TtlDecayPolicy.Step[]) - Constructor for record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
public StepDecay
steps() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
Returns the value of the steps record component.
stopOnError() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Returns the value of the stopOnError record component.
stopOnError(boolean) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions.Builder
Sets stop on error | 设置出错停止
stopRetryProcessor() - Method in class cloud.opencode.base.cache.dlq.DeadLetterQueue
Stop automatic retry processor 停止自动重试处理器
stream() - Method in class cloud.opencode.base.cache.query.CacheQuery
Return as stream for custom processing 返回为 Stream 以进行自定义处理
string() - Static method in interface cloud.opencode.base.cache.compression.CompressedCache.ValueSerializer
Create a String serializer using UTF-8 使用 UTF-8 创建字符串序列化器
string() - Static method in interface cloud.opencode.base.cache.spi.CacheSerializer
Create string serializer 创建字符串序列化器
stringLength() - Static method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher using string length 创建使用字符串长度的权重计算器
subscribe(String, Consumer) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Subscribes to cache invalidation messages.
successCount() - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Returns the value of the successCount record component.
successCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
successCount | successCount
successfulCallsCount() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns the value of the successfulCallsCount record component.
successRate() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the success rate | 返回成功率
successRate() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Returns the success rate | 返回成功率
successRatio() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Get success ratio 获取成功比率
sync() - Method in interface cloud.opencode.base.cache.AsyncCache
Get sync view of this async cache 获取同步视图

T

tag(String, String) - Method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.Builder
Add a common tag 添加公共标签
TenantCache<K,V> - Class in cloud.opencode.base.cache
Tenant Cache - Multi-tenant cache with isolation and per-tenant limits 租户缓存 - 带隔离和租户限制的多租户缓存
TenantCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for TenantCache TenantCache 构建器
TenantCache.TenantQuotaExceededException - Exception Class in cloud.opencode.base.cache
Exception thrown when tenant quota is exceeded 租户配额超限时抛出的异常
tenantQuota(String, long) - Method in class cloud.opencode.base.cache.TenantCache.Builder
Set tenant quota 设置租户配额
tenantQuota(String, long, Duration) - Method in class cloud.opencode.base.cache.TenantCache.Builder
Set tenant quota with TTL 设置带 TTL 的租户配额
TenantQuotaExceededException(String, long, long) - Constructor for exception class cloud.opencode.base.cache.TenantCache.TenantQuotaExceededException
TenantQuotaExceededException | TenantQuotaExceededException
tenants() - Method in class cloud.opencode.base.cache.TenantCache
Get all active tenant IDs 获取所有活跃租户 ID
tenantSize(String) - Method in class cloud.opencode.base.cache.TenantCache
Get tenant cache size 获取租户缓存大小
tenantStats(String) - Method in class cloud.opencode.base.cache.TenantCache
Get tenant statistics 获取租户统计信息
testClock() - Static method in class cloud.opencode.base.cache.testing.CacheTestSupport
Create a test clock 创建测试时钟
testClock(Instant) - Static method in class cloud.opencode.base.cache.testing.CacheTestSupport
Create a test clock with initial time 创建带初始时间的测试时钟
TestClock() - Constructor for class cloud.opencode.base.cache.testing.CacheTestSupport.TestClock
Creates a TestClock at the current time | 创建当前时间的测试时钟
TestClock(Instant) - Constructor for class cloud.opencode.base.cache.testing.CacheTestSupport.TestClock
Creates a TestClock at the specified time | 创建指定时间的测试时钟
threadPool(String) - Static method in interface cloud.opencode.base.cache.protection.Bulkhead
Create thread pool-based bulkhead builder 创建基于线程池的舱壁构建器
threshold() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.Step
Returns the value of the threshold record component.
threshold(int) - Method in class cloud.opencode.base.cache.compression.ValueCompressor.Builder
Set compression threshold 设置压缩阈值
timeout() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Returns the value of the timeout record component.
timeout(String, Object) - Static method in exception class cloud.opencode.base.cache.exception.OpenCacheException
Create timeout exception 创建超时异常
timeout(Duration) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.BatchBuilder
Set operation timeout 设置操作超时
timeout(Duration) - Method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader.Builder
Set operation timeout 设置操作超时
timeout(Duration) - Method in class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions.Builder
Sets the timeout | 设置超时时间
TimeoutCache<K,V> - Class in cloud.opencode.base.cache
Timeout Cache - Cache wrapper with operation timeout support 超时缓存 - 支持操作超时控制的缓存包装器
TimeoutCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for TimeoutCache
TimeoutCache.CacheTimeoutException - Exception Class in cloud.opencode.base.cache
Exception thrown when cache operation times out 缓存操作超时时抛出的异常
TimeoutException(String) - Constructor for exception class cloud.opencode.base.cache.protection.SingleFlight.TimeoutException
TimeoutException | TimeoutException
timer(String, String[], T, ToLongFunction, ToDoubleFunction) - Method in interface cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.MeterRegistry
Register a function timer 注册函数定时器
times(long) - Method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher that applies a multiplier 创建应用乘数的权重计算器
timestamp() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the timestamp record component.
token() - Method in interface cloud.opencode.base.cache.distributed.DistributedCache.DistributedLock
Gets the lock token (for verification).
toMap() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Convert to map for JSON serialization 转换为 Map 用于 JSON 序列化
toMap() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Convert to map 转换为 Map
toMap() - Method in class cloud.opencode.base.cache.query.CacheQuery
Execute and return as map 执行并作为 Map 返回
toMap() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Convert to map for JSON serialization 转换为 Map 用于 JSON 序列化
toMap() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Convert to map for JSON serialization 转换为 Map 用于 JSON 序列化
topK() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the topK record component.
topKSize(int) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.Builder
Set top K size 设置 Top K 大小
toSpec(CacheConfig) - Static method in class cloud.opencode.base.cache.config.CacheSpec
Build a specification string from a CacheConfig 从 CacheConfig 构建规范字符串
toString() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.KeyAccessCount
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BatchResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.TtlValue
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.distributed.DistributedCache.ScanResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.event.CacheEventDispatcher.Metrics
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.LayeredCache.LayeredCacheStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelMetrics.Snapshot
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.ProtectedCache.ProtectionStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.protection.CircuitBreaker.Config
Returns a string representation of this record class.
toString() - Method in class cloud.opencode.base.cache.protection.RetryBudget
 
toString() - Method in class cloud.opencode.base.cache.protection.TtlJitter
 
toString() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.RefreshAheadCache.RefreshStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Config
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.spi.EvictionPolicy.WeightedPolicy
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Get
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetAll
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.GetWithLoader
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Invalidate
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.InvalidateAll
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Put
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAll
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAllWithTtl
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsent
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsentWithTtl
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutWithTtl
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.ExponentialDecay
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.LinearDecay
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.Step
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.StepDecay
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.PriorityKey
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.CacheWarmingResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Returns a string representation of this record class.
toString() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Returns a string representation of this record class.
total() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Returns the total count | 返回总数
totalAccesses() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the totalAccesses record component.
totalAdded() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Returns the value of the totalAdded record component.
totalAttempts() - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Returns the value of the totalAttempts record component.
totalBatched() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns the value of the totalBatched record component.
totalCallsCount() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Returns the value of the totalCallsCount record component.
totalCompressed() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns the value of the totalCompressed record component.
totalCount() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.BulkPutResult
Returns the total count | 返回总数
totalDecompressed() - Method in record class cloud.opencode.base.cache.compression.CompressedCache.CompressionStats
Returns the value of the totalDecompressed record component.
totalDeduplicated() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns the value of the totalDeduplicated record component.
totalDiscarded() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Returns the value of the totalDiscarded record component.
totalDuration() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
Returns the value of the totalDuration record component.
totalEntries() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns the value of the totalEntries record component.
totalEntries() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.HealthResult
Returns the value of the totalEntries record component.
totalEntries() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
totalEntries | totalEntries
totalEntriesWarmed() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Returns the value of the totalEntriesWarmed record component.
totalErrors() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns the value of the totalErrors record component.
totalFailed() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Returns the value of the totalFailed record component.
totalFlushes() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns the value of the totalFlushes record component.
totalHits() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Returns the value of the totalHits record component.
totalInCache() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Returns the value of the totalInCache record component.
totalKeys() - Method in record class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.AccessPatternReport
Returns the value of the totalKeys record component.
totalKeys() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns the value of the totalKeys record component.
totalKeys() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the value of the totalKeys record component.
totalLoadTime() - Method in interface cloud.opencode.base.cache.CacheStats
Get total load time in nanoseconds 获取总加载时间(纳秒)
totalLoadTime() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheStats
Returns the value of the totalLoadTime record component.
totalLoadTime(Duration) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
totalLoadTime | totalLoadTime
totalMisses() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Returns the value of the totalMisses record component.
totalPromotions() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.MultiLevelStats
Returns the value of the totalPromotions record component.
totalRecovered() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Returns the value of the totalRecovered record component.
totalRequests() - Method in record class cloud.opencode.base.cache.resilience.GracefulDegradation.Stats
Returns the value of the totalRequests record component.
totalRetried() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqStats
Returns the value of the totalRetried record component.
totalRetries() - Method in record class cloud.opencode.base.cache.dlq.DeadLetterQueue.DlqAnalysis
Returns the value of the totalRetries record component.
totalRetryDelay() - Method in record class cloud.opencode.base.cache.resilience.RetryExecutor.RetryStats
Returns the value of the totalRetryDelay record component.
totalSize() - Method in class cloud.opencode.base.cache.TenantCache
Get total size across all tenants 获取所有租户的总大小
totalSkipped() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Returns the value of the totalSkipped record component.
totalWarmed() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Returns the value of the totalWarmed record component.
totalWarmingTime() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
totalWarmingTime | totalWarmingTime
totalWarmingTimeNanos() - Method in record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Returns the value of the totalWarmingTimeNanos record component.
totalWrites() - Method in record class cloud.opencode.base.cache.write.WriteCoalescer.CoalescerStats
Returns the value of the totalWrites record component.
totalWrites() - Method in record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Returns the value of the totalWrites record component.
trackAccess() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache.Builder
Enable access tracking (automatically enabled with decay) 启用访问跟踪(使用衰减时自动启用)
trackedEntries() - Method in record class cloud.opencode.base.cache.RefreshAheadCache.RefreshStats
Returns the value of the trackedEntries record component.
tryAcquire() - Method in class cloud.opencode.base.cache.protection.Bulkhead.SemaphoreBulkhead
 
tryAcquire() - Method in class cloud.opencode.base.cache.protection.Bulkhead.ThreadPoolBulkhead
 
tryAcquire() - Method in interface cloud.opencode.base.cache.protection.Bulkhead
Try to acquire a permit from the bulkhead 尝试从舱壁获取许可
tryLock(K, Duration) - Method in interface cloud.opencode.base.cache.distributed.DistributedCache
Acquires a distributed lock.
tti(Duration) - Static method in class cloud.opencode.base.cache.OpenCache
Create TTI expiry policy 创建 TTI 过期策略
tti(Duration) - Static method in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Create TTI (Time To Idle) policy - expire after access 创建 TTI(空闲时间)策略 - 访问后过期
ttiCache(long, Duration) - Static method in class cloud.opencode.base.cache.OpenCache
Create a TTI-based cache with given size and idle expiration 创建具有给定容量和空闲过期时间的 TTI 缓存
ttl() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.TtlValue
Returns the value of the ttl record component.
ttl() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Returns the value of the ttl record component.
ttl() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutAllWithTtl
Returns the value of the ttl record component.
ttl() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsentWithTtl
Returns the value of the ttl record component.
ttl() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutWithTtl
Returns the value of the ttl record component.
ttl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.NoDecay
Returns the value of the ttl record component.
ttl() - Method in record class cloud.opencode.base.cache.ttl.TtlDecayPolicy.Step
Returns the value of the ttl record component.
ttl(Duration) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfigBuilder
ttl | ttl
ttl(Duration) - Static method in class cloud.opencode.base.cache.OpenCache
Create TTL expiry policy 创建 TTL 过期策略
ttl(Duration) - Method in class cloud.opencode.base.cache.RefreshAheadCache.Builder
Set TTL for refresh calculation 设置刷新计算的 TTL
ttl(Duration) - Static method in interface cloud.opencode.base.cache.spi.ExpiryPolicy
Create TTL (Time To Live) policy - expire after write 创建 TTL(存活时间)策略 - 写入后过期
ttlCache(long, Duration) - Static method in class cloud.opencode.base.cache.OpenCache
Create a TTL-based cache with given size and expiration 创建具有给定容量和过期时间的 TTL 缓存
TtlDecayPolicy - Interface in cloud.opencode.base.cache.ttl
TTL Decay Policy - TTL that decreases over time or access count TTL 衰减策略 - 随时间或访问次数递减的 TTL
TtlDecayPolicy.ExponentialDecay - Record Class in cloud.opencode.base.cache.ttl
Exponential decay implementation 指数衰减实现
TtlDecayPolicy.LinearDecay - Record Class in cloud.opencode.base.cache.ttl
Linear decay implementation 线性衰减实现
TtlDecayPolicy.NoDecay - Record Class in cloud.opencode.base.cache.ttl
No decay - constant TTL 不衰减 - 恒定 TTL
TtlDecayPolicy.Step - Record Class in cloud.opencode.base.cache.ttl
Step definition for step decay 阶梯衰减的步骤定义
TtlDecayPolicy.StepDecay - Record Class in cloud.opencode.base.cache.ttl
Step decay implementation 阶梯衰减实现
TtlJitter - Class in cloud.opencode.base.cache.protection
TTL Jitter — Prevents cache avalanche by randomizing expiration times.
ttlPolicy(TtlPolicy) - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache.Builder
Set TTL policy 设置 TTL 策略
TtlPolicy<K,V> - Interface in cloud.opencode.base.cache.ttl
TTL Policy - Advanced TTL management strategies TTL 策略 - 高级 TTL 管理策略
TtlPolicy.PatternBuilder<K,V> - Class in cloud.opencode.base.cache.ttl
Builder for pattern-based TTL policies 基于模式的 TTL 策略构建器
TtlValue(V, Duration) - Constructor for record class cloud.opencode.base.cache.bulk.BulkOperations.TtlValue
Creates an instance of a TtlValue record class.
type() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the type record component.

U

UNKNOWN - Enum constant in enum class cloud.opencode.base.cache.spring.CacheHealthIndicator.Status
Unknown - unable to determine status
unlimited() - Static method in class cloud.opencode.base.cache.protection.RetryBudget
Creates a retry budget that effectively allows unlimited retries (99.99% ratio).
unregister(String) - Method in class cloud.opencode.base.cache.metrics.MicrometerMetricsExporter
Unregister a cache 取消注册缓存
unregister(String) - Method in class cloud.opencode.base.cache.metrics.PrometheusMetricsExporter
Unregister a cache 取消注册缓存
unregister(String) - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Unregister a cache warmer 取消注册缓存预热器
UP - Enum constant in enum class cloud.opencode.base.cache.spring.CacheHealthIndicator.Status
Healthy - all caches operating normally
updateAll(Map) - Method in interface cloud.opencode.base.cache.Cache
Update only existing entries (does not insert new ones) 仅更新现有条目(不插入新条目)
updateTtl(Iterable, Duration) - Method in interface cloud.opencode.base.cache.Cache
Update TTL for specific keys 更新指定键的 TTL
updateTtl(Predicate, Duration) - Method in interface cloud.opencode.base.cache.Cache
Update TTL for existing entries matching predicate 更新匹配条件的现有条目的 TTL
updateTtlAll(Duration) - Method in interface cloud.opencode.base.cache.Cache
Update TTL for all entries 更新所有条目的 TTL
uptime() - Method in record class cloud.opencode.base.cache.CacheMetrics.MetricsSnapshot
Returns the value of the uptime record component.
useVirtualThreads() - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Enable virtual threads for async operations 启用虚拟线程用于异步操作
useVirtualThreads() - Method in class cloud.opencode.base.cache.config.CacheConfig
Returns whether virtual threads are used | 返回是否使用虚拟线程
useVirtualThreads() - Method in class cloud.opencode.base.cache.OpenCache.CacheBuilder
useVirtualThreads | useVirtualThreads
utilizationRate() - Method in record class cloud.opencode.base.cache.protection.Bulkhead.Metrics
Get utilization rate 获取利用率

V

validate() - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Validate the configuration 验证配置
validate() - Method in class cloud.opencode.base.cache.spring.CacheProperties.CacheSpec
Validate the cache specification 验证缓存规格
validate() - Method in class cloud.opencode.base.cache.spring.CacheProperties
Validate all cache configurations 验证所有缓存配置
validate(String) - Static method in class cloud.opencode.base.cache.config.CacheSpec
Get validation errors for a specification string 获取规范字符串的验证错误
value() - Method in record class cloud.opencode.base.cache.bulk.BulkOperations.TtlValue
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.cache.event.CacheEvent
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.Put
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsent
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutIfAbsentWithTtl
Returns the value of the value record component.
value() - Method in record class cloud.opencode.base.cache.testing.CacheTestSupport.CacheOperation.PutWithTtl
Returns the value of the value record component.
ValueCompressor - Interface in cloud.opencode.base.cache.compression
Value Compressor - Compresses and decompresses cache values 值压缩器 - 压缩和解压缓存值
ValueCompressor.Builder - Class in cloud.opencode.base.cache.compression
Builder for ValueCompressor ValueCompressor 构建器
ValueCompressor.CompressionException - Exception Class in cloud.opencode.base.cache.compression
Exception thrown when compression/decompression fails 压缩/解压失败时抛出的异常
ValueCompressor.GzipCompressor - Class in cloud.opencode.base.cache.compression
GZIP compressor implementation GZIP 压缩器实现
ValueCompressor.NoOpCompressor - Class in cloud.opencode.base.cache.compression
No-op compressor that passes data through unchanged 无操作压缩器,数据直接通过不变
valueFilter(Predicate) - Method in class cloud.opencode.base.cache.query.CacheQuery
Filter by value predicate 通过值谓词过滤
valueOf(String) - Static method in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.dlq.DeadLetterQueue.DiscardReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.LayeredCache.WriteStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.model.RemovalCause
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.InvalidationPolicy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.WritePolicy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.protection.CircuitBreaker.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.ReferenceCache.ReferenceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.resilience.GracefulDegradation.State
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class cloud.opencode.base.cache.spring.CacheHealthIndicator.Status
Returns the enum constant of this class with the specified name.
valueParallelStream() - Method in interface cloud.opencode.base.cache.Cache
Get a parallel stream over values 获取值的并行流
values() - Method in interface cloud.opencode.base.cache.Cache
Get snapshot of all values 获取所有值的快照
values() - Method in class cloud.opencode.base.cache.compression.CompressedCache
 
values() - Static method in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class cloud.opencode.base.cache.CopyOnReadCache
 
values() - Static method in enum class cloud.opencode.base.cache.dlq.DeadLetterQueue.DiscardReason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.cache.event.CacheEvent.EventType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class cloud.opencode.base.cache.LayeredCache
 
values() - Static method in enum class cloud.opencode.base.cache.LayeredCache.WriteStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.cache.model.RemovalCause
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.InvalidationPolicy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache
 
values() - Static method in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.WritePolicy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class cloud.opencode.base.cache.NullSafeCache
 
values() - Method in class cloud.opencode.base.cache.ProtectedCache
 
values() - Static method in enum class cloud.opencode.base.cache.protection.BackoffStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.cache.protection.CircuitBreaker.State
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in record class cloud.opencode.base.cache.query.CacheQuery.Result
Get values only 仅获取值
values() - Method in class cloud.opencode.base.cache.query.CacheQuery
Execute and return only values 执行并仅返回值
values() - Method in class cloud.opencode.base.cache.ReadThroughCache
 
values() - Static method in enum class cloud.opencode.base.cache.ReferenceCache.ReferenceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class cloud.opencode.base.cache.ReferenceCache
 
values() - Method in class cloud.opencode.base.cache.RefreshAheadCache
 
values() - Static method in enum class cloud.opencode.base.cache.resilience.GracefulDegradation.State
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class cloud.opencode.base.cache.spring.CacheHealthIndicator.Status
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.MockCache
 
values() - Method in class cloud.opencode.base.cache.testing.CacheTestSupport.RecordingCache
 
values() - Method in class cloud.opencode.base.cache.TimeoutCache
 
values() - Method in class cloud.opencode.base.cache.ttl.VariableTtlCache
 
values() - Method in class cloud.opencode.base.cache.WriteBehindCache
 
values() - Method in class cloud.opencode.base.cache.WriteThroughCache
 
valueSerializer() - Method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Returns the value of the valueSerializer record component.
valueSerializer(CacheSerializer) - Method in class cloud.opencode.base.cache.distributed.DistributedCacheConfig.Builder
Sets the value serializer.
valuesFlux() - Method in class cloud.opencode.base.cache.reactive.ReactiveCache
Get all values as a Publisher 获取所有值作为 Publisher
valueStream() - Method in interface cloud.opencode.base.cache.Cache
Get a lazy stream over values (memory efficient) 获取值的惰性流(内存高效)
ValueWeigher<V> - Interface in cloud.opencode.base.cache.spi
Value Weigher - Calculate weight of cache entries for memory-based eviction 值权重计算器 - 计算缓存条目权重用于基于内存的淘汰
ValueWeigher.EntryWeigher<K,V> - Interface in cloud.opencode.base.cache.spi
Entry weigher interface for key-value pairs 键值对的条目权重计算器接口
VariableTtlCache<K,V> - Class in cloud.opencode.base.cache.ttl
Variable TTL Cache - Cache with per-entry TTL based on policies 可变 TTL 缓存 - 基于策略的每条目 TTL 缓存
VariableTtlCache.Builder<K,V> - Class in cloud.opencode.base.cache.ttl
Builder for VariableTtlCache VariableTtlCache 构建器

W

warm(Iterable) - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Warm cache with provided keys (synchronous) 用提供的键预热缓存(同步)
warm(Iterable, CacheWarmer.WarmingOptions) - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Warm cache with options 使用选项预热缓存
warm(String) - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Warm a specific cache 预热指定缓存
warmAll() - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Warm all registered caches synchronously 同步预热所有注册的缓存
warmAllAsync() - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Warm all registered caches asynchronously 异步预热所有注册的缓存
warmAllParallel(int) - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Warm all caches in parallel 并行预热所有缓存
warmAsync(Iterable, CacheWarmer.ProgressCallback) - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Warm cache asynchronously 异步预热缓存
warmAsync(String) - Method in class cloud.opencode.base.cache.warming.CacheWarmerManager
Warm a specific cache asynchronously 异步预热指定缓存
warmedCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.ProgressSnapshot
Returns the value of the warmedCount record component.
warmedCount() - Method in record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Returns the value of the warmedCount record component.
WarmingMetrics(int, int, long, long) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingMetrics
Creates an instance of a WarmingMetrics record class.
WarmingOptions(boolean, boolean, Duration) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingOptions
Creates an instance of a WarmingOptions record class.
WarmingResult(int, int, int, int, Set, Duration) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingResult
Creates an instance of a WarmingResult record class.
WarmingResult(List, Duration) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmerManager.WarmingResult
Creates an instance of a WarmingResult record class.
WarmingStats(long, long, long) - Constructor for record class cloud.opencode.base.cache.warming.CacheWarmer.WarmingStats
Creates an instance of a WarmingStats record class.
warmUp() - Method in interface cloud.opencode.base.cache.spi.CacheWarmer
Perform warm-up and return data to load 执行预热并返回要加载的数据
warmUp(Cache, Map) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Warm up cache with data 使用数据预热缓存
warmUp(Iterable) - Method in class cloud.opencode.base.cache.LayeredCache
Warms up L1 from L2 with specified keys 使用指定键从L2预热L1
warmUpAsync(AsyncCache, Map) - Static method in class cloud.opencode.base.cache.util.CacheUtil
Async warm up cache with data 异步使用数据预热缓存
warmUpAsync(Executor) - Method in interface cloud.opencode.base.cache.spi.CacheWarmer
Async warm-up 异步预热
warmWithPriority(List) - Method in class cloud.opencode.base.cache.warming.CacheWarmer
Warm with priority queue (high priority keys first) 使用优先级队列预热(先预热高优先级键)
warning() - Method in record class cloud.opencode.base.cache.spring.CacheHealthIndicator.CacheHealth
Returns the value of the warning record component.
wasEvicted() - Method in enum class cloud.opencode.base.cache.model.RemovalCause
Check if entry was passively evicted (not manually removed) 检查是否为被动淘汰(非手动移除)
wasExplicit() - Method in enum class cloud.opencode.base.cache.model.RemovalCause
Check if entry was explicitly removed 检查是否为显式移除
WEAK - Enum constant in enum class cloud.opencode.base.cache.ReferenceCache.ReferenceType
Both keys and values use weak references 键和值都使用弱引用
WEAK_KEYS - Enum constant in enum class cloud.opencode.base.cache.ReferenceCache.ReferenceType
Only keys use weak references, values are strong 仅键使用弱引用,值是强引用
weigh(K, V) - Method in interface cloud.opencode.base.cache.spi.ValueWeigher.EntryWeigher
Calculate the weight of a key-value pair 计算键值对的权重
weigh(V) - Method in interface cloud.opencode.base.cache.spi.ValueWeigher
Calculate the weight of a value 计算值的权重
weigher() - Method in class cloud.opencode.base.cache.config.CacheConfig
Get value weigher 获取值权重计算器
weigher(ValueWeigher) - Method in class cloud.opencode.base.cache.config.CacheConfig.Builder
Set value weigher for memory-based eviction 设置值权重计算器用于基于内存的淘汰
weight() - Method in record class cloud.opencode.base.cache.model.CacheEntry
Returns the value of the weight record component.
weight() - Method in record class cloud.opencode.base.cache.spi.EvictionPolicy.WeightedPolicy
Returns the value of the weight record component.
weighted(EvictionPolicy.WeightedPolicy...) - Static method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Create a weighted composite of multiple policies 创建多个策略的加权组合
WeightedPolicy(EvictionPolicy, double) - Constructor for record class cloud.opencode.base.cache.spi.EvictionPolicy.WeightedPolicy
Creates an instance of a WeightedPolicy record class.
windowDuration(Duration) - Method in class cloud.opencode.base.cache.analysis.AccessPatternAnalyzer.Builder
Set analysis window duration 设置分析窗口持续时间
with(UnaryOperator) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Apply a custom decorator 应用自定义装饰器
withCopyOnRead() - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add copy-on-read behavior with default copier (serialization) 添加读时复制行为,使用默认复制器(序列化)
withCopyOnRead(UnaryOperator) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add copy-on-read with custom copier 添加读时复制并自定义复制器
withCopyOnReadConfigured(UnaryOperator) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add copy-on-read with custom configuration 添加读时复制并自定义配置
withDefaults(String) - Static method in record class cloud.opencode.base.cache.distributed.DistributedCacheConfig
Creates a default configuration with the given name.
withJitter(double) - Method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a policy that adds jitter to prevent thundering herd 创建添加抖动以防止惊群效应的策略
withJitter(double, double) - Static method in interface cloud.opencode.base.cache.spi.RefreshAheadPolicy
Create a refresh policy with jitter to avoid thundering herd 创建带抖动的刷新策略以避免惊群效应
withMaximum(long) - Method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher with maximum weight 创建带最大权重的权重计算器
withMaximum(Duration) - Method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a policy with maximum TTL 创建具有最大 TTL 的策略
withMinimum(long) - Method in interface cloud.opencode.base.cache.spi.ValueWeigher
Create a weigher with minimum weight 创建带最小权重的权重计算器
withMinimum(Duration) - Method in interface cloud.opencode.base.cache.ttl.TtlPolicy
Create a policy with minimum TTL 创建具有最小 TTL 的策略
withProtection() - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add protection (BloomFilter + SingleFlight) with default settings 添加保护(布隆过滤器 + SingleFlight)使用默认设置
withProtection(UnaryOperator) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add protection with custom configuration 添加保护并自定义配置
withRefreshAhead(RefreshAheadPolicy, Function) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add refresh-ahead behavior 添加提前刷新行为
withRefreshAhead(UnaryOperator) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add refresh-ahead with custom configuration 添加提前刷新并自定义配置
withTimeout(Duration) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add operation timeout 添加操作超时
withTimeout(UnaryOperator) - Method in class cloud.opencode.base.cache.CacheDecorators.ChainBuilder
Add timeout with custom configuration 添加超时并自定义配置
withValue(V) - Method in record class cloud.opencode.base.cache.model.CacheEntry
Create new entry with updated value 创建更新值的新条目
withWeight(long) - Method in record class cloud.opencode.base.cache.model.CacheEntry
Create new entry with updated weight 创建更新权重的新条目
wrap(Cache) - Static method in class cloud.opencode.base.cache.compression.CompressedCache
Create builder to wrap an existing cache 创建构建器以包装现有缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.CopyOnReadCache
Wrap a cache with copy-on-read behavior 使用读时复制行为包装缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.NullSafeCache
Wrap an existing cache with null-safe behavior 用空值安全行为包装现有缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.ProtectedCache
Wrap a cache with protection 使用保护包装缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.reactive.ReactiveCache
Wrap a cache with reactive support 使用响应式支持包装缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.ReadThroughCache
Wrap an existing cache with read-through behavior 用读穿透行为包装现有缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.RefreshAheadCache
Wrap a cache with refresh-ahead behavior 使用提前刷新行为包装缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.TimeoutCache
Wrap a cache with timeout support 使用超时支持包装缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.ttl.VariableTtlCache
Create builder to wrap an existing cache 创建构建器以包装现有缓存
wrap(Cache) - Static method in class cloud.opencode.base.cache.WriteThroughCache
Wrap an existing cache with write-through behavior 用写穿透行为包装现有缓存
wrap(Object) - Static method in interface cloud.opencode.base.cache.metrics.MicrometerMetricsExporter.MeterRegistry
Wrap actual Micrometer MeterRegistry using reflection 使用反射包装实际的 Micrometer MeterRegistry
wrap(Function) - Static method in class cloud.opencode.base.cache.resilience.ResilientCacheLoader
Wrap a simple loader with default resilience settings 使用默认弹性设置包装简单加载器
write(K, V) - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Queue a write operation 队列写操作
write(K, V) - Method in interface cloud.opencode.base.cache.WriteThroughCache.CacheWriter
Write a single entry to backend 写入单个条目到后端
WRITE_ALL - Enum constant in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.WritePolicy
Write to all levels
WRITE_BACK - Enum constant in enum class cloud.opencode.base.cache.LayeredCache.WriteStrategy
Write to L1 only, L2 updated on eviction 仅写入L1,驱逐时更新L2
WRITE_FIRST - Enum constant in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.WritePolicy
Write only to first level
WRITE_THROUGH - Enum constant in enum class cloud.opencode.base.cache.LayeredCache.WriteStrategy
Write to both L1 and L2 on put 放入时同时写入L1和L2
WRITE_THROUGH - Enum constant in enum class cloud.opencode.base.cache.multilevel.MultiLevelCache.WritePolicy
Write through all levels synchronously
writeAll(Map) - Method in class cloud.opencode.base.cache.write.WriteCoalescer
Queue multiple write operations 队列多个写操作
writeAll(Map) - Method in interface cloud.opencode.base.cache.WriteThroughCache.CacheWriter
Write multiple entries to backend (default: write one by one) 写入多个条目到后端(默认:逐个写入)
writeBatch(Map) - Method in interface cloud.opencode.base.cache.write.WriteCoalescer.BatchWriter
Write a batch of entries 写入一批条目
writeBatch(Map, Set) - Method in interface cloud.opencode.base.cache.WriteBehindCache.BatchWriter
Write batch of changes to underlying store 将批量变更写入底层存储
WriteBehindCache<K,V> - Class in cloud.opencode.base.cache
Write-Behind Cache - Asynchronous batch persistence cache wrapper 写后缓存 - 异步批量持久化缓存包装器
WriteBehindCache.BatchWriter<K,V> - Interface in cloud.opencode.base.cache
Batch writer interface for persisting cache changes 批量写入器接口,用于持久化缓存变更
WriteBehindCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for WriteBehindCache WriteBehindCache 构建器
WriteBehindCache.WriteBehindStats - Record Class in cloud.opencode.base.cache
Write-behind statistics 写后统计信息
WriteBehindCache.WriteFailure<K,V> - Record Class in cloud.opencode.base.cache
Write failure information 写入失败信息
writeBehindStats() - Method in class cloud.opencode.base.cache.WriteBehindCache
Get write-behind statistics 获取写后统计信息
WriteBehindStats(long, long, long, long, long) - Constructor for record class cloud.opencode.base.cache.WriteBehindCache.WriteBehindStats
Creates an instance of a WriteBehindStats record class.
WriteCoalescer<K,V> - Class in cloud.opencode.base.cache.write
Write Coalescer - Batches and coalesces write operations 写合并器 - 批处理和合并写操作
WriteCoalescer.BatchWriter<K,V> - Interface in cloud.opencode.base.cache.write
Batch writer interface 批量写入器接口
WriteCoalescer.Builder<K,V> - Class in cloud.opencode.base.cache.write
Builder for WriteCoalescer WriteCoalescer 构建器
WriteCoalescer.CoalescerStats - Record Class in cloud.opencode.base.cache.write
Coalescer statistics 合并器统计
WriteCoalescer.WriteErrorHandler<K,V> - Interface in cloud.opencode.base.cache.write
Write error handler 写错误处理器
writeEnabled() - Method in record class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfig
Returns the value of the writeEnabled record component.
writeEnabled(boolean) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.LevelConfigBuilder
writeEnabled | writeEnabled
WriteFailure(Map, Set, Throwable, int) - Constructor for record class cloud.opencode.base.cache.WriteBehindCache.WriteFailure
Compact constructor - make collections immutable.
writePolicy(MultiLevelCache.WritePolicy) - Method in class cloud.opencode.base.cache.multilevel.MultiLevelCache.Builder
writePolicy | writePolicy
writer(WriteCoalescer.BatchWriter) - Method in class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Set batch writer 设置批量写入器
writer(WriteBehindCache.BatchWriter) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set the batch writer 设置批量写入器
writer(WriteThroughCache.CacheWriter) - Method in class cloud.opencode.base.cache.WriteThroughCache.Builder
Set the cache writer with full control 设置完整控制的缓存写入器
writer(BiConsumer) - Method in class cloud.opencode.base.cache.WriteThroughCache.Builder
Set the cache writer for single entry writes 设置单条目写入器
writer(Consumer) - Method in class cloud.opencode.base.cache.write.WriteCoalescer.Builder
Set batch writer from simple consumer 从简单消费者设置批量写入器
writer(Consumer) - Method in class cloud.opencode.base.cache.WriteBehindCache.Builder
Set writer using simple consumer (puts only) 使用简单消费者设置写入器(仅放入)
writeStrategy() - Method in class cloud.opencode.base.cache.LayeredCache
Gets the write strategy 获取写策略
writeStrategy(LayeredCache.WriteStrategy) - Method in class cloud.opencode.base.cache.LayeredCache.Builder
Sets the write strategy 设置写策略
WriteThroughCache<K,V> - Class in cloud.opencode.base.cache
Write-Through Cache - Synchronous write to both cache and backend 写穿透缓存 - 同步写入缓存和后端存储
WriteThroughCache.Builder<K,V> - Class in cloud.opencode.base.cache
Builder for WriteThroughCache WriteThroughCache 构建器
WriteThroughCache.CacheWriteException - Exception Class in cloud.opencode.base.cache
Exception thrown when cache write-through fails 缓存写穿透失败时抛出的异常
WriteThroughCache.CacheWriter<K,V> - Interface in cloud.opencode.base.cache
Cache Writer - Writes cache entries to backend storage 缓存写入器 - 将缓存条目写入后端存储
wTinyLfu() - Static method in class cloud.opencode.base.cache.OpenCache
Create W-TinyLFU eviction policy 创建 W-TinyLFU 淘汰策略
wTinyLfu() - Static method in interface cloud.opencode.base.cache.spi.EvictionPolicy
Create W-TinyLFU (Window TinyLFU) policy 创建 W-TinyLFU(窗口 TinyLFU)策略
wTinyLfuCache(long) - Static method in class cloud.opencode.base.cache.OpenCache
Create a high-performance W-TinyLFU cache 创建高性能 W-TinyLFU 缓存

Z

ZSTD - Enum constant in enum class cloud.opencode.base.cache.compression.CompressionAlgorithm
ZSTD compression - Best balance of speed and ratio ZSTD 压缩 - 速度和压缩率的最佳平衡
A B C D E F G H I J K L M N O P Q R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form