Class DistributedCacheStats.Builder
java.lang.Object
cloud.opencode.base.cache.distributed.DistributedCacheStats.Builder
- Enclosing class:
DistributedCacheStats
Builder for DistributedCacheStats.
DistributedCacheStats 构建器。
- Since:
- JDK 25, opencode-base-cache V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Method Summary
Modifier and TypeMethodDescriptionavgLatency(Duration avgLatency) avgLatency | avgLatencybuild()build | buildconnectionCount(int connectionCount) connectionCount | connectionCountevictionCount(long evictionCount) evictionCount | evictionCounthitCount(long hitCount) hitCount | hitCountkeyCount(long keyCount) keyCount | keyCountlastResetTime(Instant lastResetTime) lastResetTime | lastResetTimeloadCount(long loadCount) loadCount | loadCountloadFailureCount(long loadFailureCount) loadFailureCount | loadFailureCountloadSuccessCount(long loadSuccessCount) loadSuccessCount | loadSuccessCountmemoryUsed(long memoryUsed) memoryUsed | memoryUsedmissCount(long missCount) missCount | missCountp99Latency(Duration p99Latency) p99Latency | p99LatencyrequestCount(long requestCount) requestCount | requestCounttotalLoadTime(Duration totalLoadTime) totalLoadTime | totalLoadTime
-
Method Details
-
hitCount
hitCount | hitCount- Parameters:
hitCount- the hitCount | hitCount- Returns:
- the result | 结果
-
missCount
missCount | missCount- Parameters:
missCount- the missCount | missCount- Returns:
- the result | 结果
-
loadCount
loadCount | loadCount- Parameters:
loadCount- the loadCount | loadCount- Returns:
- the result | 结果
-
loadSuccessCount
loadSuccessCount | loadSuccessCount- Parameters:
loadSuccessCount- the loadSuccessCount | loadSuccessCount- Returns:
- the result | 结果
-
loadFailureCount
loadFailureCount | loadFailureCount- Parameters:
loadFailureCount- the loadFailureCount | loadFailureCount- Returns:
- the result | 结果
-
totalLoadTime
totalLoadTime | totalLoadTime- Parameters:
totalLoadTime- the totalLoadTime | totalLoadTime- Returns:
- the result | 结果
-
evictionCount
evictionCount | evictionCount- Parameters:
evictionCount- the evictionCount | evictionCount- Returns:
- the result | 结果
-
requestCount
requestCount | requestCount- Parameters:
requestCount- the requestCount | requestCount- Returns:
- the result | 结果
-
connectionCount
connectionCount | connectionCount- Parameters:
connectionCount- the connectionCount | connectionCount- Returns:
- the result | 结果
-
memoryUsed
memoryUsed | memoryUsed- Parameters:
memoryUsed- the memoryUsed | memoryUsed- Returns:
- the result | 结果
-
keyCount
keyCount | keyCount- Parameters:
keyCount- the keyCount | keyCount- Returns:
- the result | 结果
-
avgLatency
avgLatency | avgLatency- Parameters:
avgLatency- the avgLatency | avgLatency- Returns:
- the result | 结果
-
p99Latency
p99Latency | p99Latency- Parameters:
p99Latency- the p99Latency | p99Latency- Returns:
- the result | 结果
-
lastResetTime
lastResetTime | lastResetTime- Parameters:
lastResetTime- the lastResetTime | lastResetTime- Returns:
- the result | 结果
-
build
-