Package cloud.opencode.base.cache.protection
package cloud.opencode.base.cache.protection
-
ClassDescriptionBackoff Strategy - Enumeration of retry backoff strategies 退避策略 - 重试退避策略枚举BloomFilter<T>Bloom Filter - Probabilistic data structure for cache penetration prevention 布隆过滤器 - 用于防止缓存穿透的概率数据结构Bulkhead - Resource isolation for cache operations 舱壁 - 缓存操作的资源隔离Exception thrown when bulkhead is full 舱壁已满时抛出的异常Bulkhead metrics 舱壁指标Builder for semaphore-based bulkhead 信号量舱壁构建器Semaphore-based bulkhead implementation 基于信号量的舱壁实现Builder for thread pool-based bulkhead 线程池舱壁构建器Thread pool-based bulkhead implementation 基于线程池的舱壁实现Circuit Breaker - Cascade failure prevention for cache backends 熔断器 - 防止缓存后端级联故障Exception thrown when circuit breaker is open 熔断器打开时抛出的异常Circuit breaker configuration 熔断器配置public static class BuilderCircuit breaker state 熔断器状态Retry Budget — Limits the fraction of requests that can be retried.SingleFlight<K,
V> SingleFlight - Request coalescing for cache stampede prevention SingleFlight - 请求合并,防止缓存击穿Timeout exception for SingleFlight operations SingleFlight 操作的超时异常TTL Jitter — Prevents cache avalanche by randomizing expiration times.