Uses of Interface
cloud.opencode.base.cache.spi.StatsCounter
Packages that use StatsCounter
-
Uses of StatsCounter in cloud.opencode.base.cache.spi
Methods in cloud.opencode.base.cache.spi that return StatsCounterModifier and TypeMethodDescriptionstatic StatsCounterStatsCounter.concurrent()Create concurrent counter using LongAdder 创建使用 LongAdder 的并发计数器static StatsCounterStatsCounter.disabled()Create disabled counter (no-op) 创建禁用的计数器(空操作)static StatsCounterStatsCounter.sampling(double sampleRate) Create sampling counter for high-throughput scenarios 创建高吞吐量场景的采样计数器static StatsCounterStatsCounter.samplingBalanced()Create sampling counter with balanced accuracy/performance (10% sampling) 创建准确性/性能平衡的采样计数器(10% 采样)static StatsCounterStatsCounter.samplingHighThroughput()Create sampling counter optimized for very high throughput (1% sampling) 创建超高吞吐量优化的采样计数器(1% 采样)