We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CacheStats
Stats
1 parent 380d7f9 commit 7dca476Copy full SHA for 7dca476
x-pack/plugin/enrich/src/main/java/org/elasticsearch/xpack/enrich/EnrichCache.java
@@ -137,13 +137,13 @@ void put(CacheKey cacheKey, CacheValue cacheValue) {
137
}
138
139
public EnrichStatsAction.Response.CacheStats getStats(String localNodeId) {
140
- Cache.CacheStats stats = cache.stats();
+ Cache.CacheStats cacheStats = cache.stats();
141
return new EnrichStatsAction.Response.CacheStats(
142
localNodeId,
143
cache.count(),
144
- stats.getHits(),
145
- stats.getMisses(),
146
- stats.getEvictions(),
+ cacheStats.getHits(),
+ cacheStats.getMisses(),
+ cacheStats.getEvictions(),
147
TimeValue.nsecToMSec(hitsTimeInNanos.get()),
148
TimeValue.nsecToMSec(missesTimeInNanos.get()),
149
sizeInBytes.get()
0 commit comments