Uses of Interface
cloud.opencode.base.cache.CacheStats
Packages that use CacheStats
Package
Description
-
Uses of CacheStats in cloud.opencode.base.cache
Methods in cloud.opencode.base.cache that return CacheStatsModifier and TypeMethodDescriptionTenantCache.aggregatedStats()Get aggregated stats across all tenants 获取所有租户的聚合统计static CacheStatsCacheStats.empty()Get empty stats instance 获取空统计实例CacheManager.getCacheStats(String name) Get statistics for a specific cache by name 按名称获取特定缓存的统计信息CacheManager.getCombinedStats()Get combined statistics 获取合并的统计信息LayeredCache.LayeredCacheStats.l1Stats()Returns the value of thel1Statsrecord component.LayeredCache.LayeredCacheStats.l2Stats()Returns the value of thel2Statsrecord component.CacheStats.minus(CacheStats other) Subtract another stats snapshot to get delta 减去另一个统计快照获取增量static CacheStatsCacheStats.of(long hitCount, long missCount, long loadSuccessCount, long loadFailureCount, long totalLoadTime, long evictionCount, long evictionWeight) Create stats instance 创建统计实例CacheStats.plus(CacheStats other) Add another stats snapshot 加上另一个统计快照Cache.stats()Get cache statistics 获取缓存统计信息CopyOnReadCache.stats()LayeredCache.stats()NullSafeCache.stats()ProtectedCache.stats()ReadThroughCache.stats()ReferenceCache.stats()RefreshAheadCache.stats()TimeoutCache.stats()WriteBehindCache.stats()WriteThroughCache.stats()TenantCache.tenantStats(String tenantId) Get tenant statistics 获取租户统计信息Methods in cloud.opencode.base.cache that return types with arguments of type CacheStatsModifier and TypeMethodDescriptionCacheManager.getAllStats()Get statistics for all caches 获取所有缓存的统计信息static Map<String, CacheStats> OpenCache.stats()Get global statistics 获取全局统计Methods in cloud.opencode.base.cache with parameters of type CacheStatsModifier and TypeMethodDescriptionCacheStats.minus(CacheStats other) Subtract another stats snapshot to get delta 减去另一个统计快照获取增量CacheStats.plus(CacheStats other) Add another stats snapshot 加上另一个统计快照Constructors in cloud.opencode.base.cache with parameters of type CacheStatsModifierConstructorDescriptionLayeredCacheStats(CacheStats l1Stats, CacheStats l2Stats) Creates an instance of aLayeredCacheStatsrecord class. -
Uses of CacheStats in cloud.opencode.base.cache.compression
Methods in cloud.opencode.base.cache.compression that return CacheStats -
Uses of CacheStats in cloud.opencode.base.cache.multilevel
Methods in cloud.opencode.base.cache.multilevel that return CacheStats -
Uses of CacheStats in cloud.opencode.base.cache.reactive
Methods in cloud.opencode.base.cache.reactive that return types with arguments of type CacheStats -
Uses of CacheStats in cloud.opencode.base.cache.spi
Methods in cloud.opencode.base.cache.spi that return CacheStats -
Uses of CacheStats in cloud.opencode.base.cache.spring
Methods in cloud.opencode.base.cache.spring that return CacheStatsModifier and TypeMethodDescriptionOpenCodeCacheManager.getCacheStats(String name) Get statistics for a specific cache 获取特定缓存的统计信息OpenCodeCacheManager.getCombinedStats()Get combined statistics across all caches 获取所有缓存的合并统计信息Methods in cloud.opencode.base.cache.spring that return types with arguments of type CacheStatsModifier and TypeMethodDescriptionOpenCodeCacheManager.getAllStats()Get statistics for all managed caches 获取所有管理缓存的统计信息 -
Uses of CacheStats in cloud.opencode.base.cache.testing
Methods in cloud.opencode.base.cache.testing that return CacheStats -
Uses of CacheStats in cloud.opencode.base.cache.ttl
Methods in cloud.opencode.base.cache.ttl that return CacheStats -
Uses of CacheStats in cloud.opencode.base.cache.util
Methods in cloud.opencode.base.cache.util with parameters of type CacheStatsModifier and TypeMethodDescriptionstatic StringCacheUtil.compareStats(CacheStats before, CacheStats after) Compare two statistics snapshots 比较两个统计快照static StringCacheUtil.formatStats(CacheStats stats) Format cache statistics 格式化缓存统计static StringCacheUtil.formatStatsJson(CacheStats stats) Format statistics as JSON-like string 格式化统计为类 JSON 字符串